summaryrefslogtreecommitdiffstats
path: root/drivers/hfpmodem/handsfree.c
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2014-04-10 10:04:36 -0500
committerDenis Kenzior <denkenz@gmail.com>2014-04-10 10:04:36 -0500
commit516165c3114471400b4551ff9b04ff9ca7c1fc25 (patch)
treed6540f6ccf118283afff475741d06b1f2bb79c9d /drivers/hfpmodem/handsfree.c
parentb37f5e842d7de5d19538b8abf8369320cfbd82c6 (diff)
downloadofono-516165c3114471400b4551ff9b04ff9ca7c1fc25.tar.bz2
handsfree: Rename driver function
To be more consistent with others in the same file
Diffstat (limited to 'drivers/hfpmodem/handsfree.c')
-rw-r--r--drivers/hfpmodem/handsfree.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/hfpmodem/handsfree.c b/drivers/hfpmodem/handsfree.c
index 1ad7db37..cd594dce 100644
--- a/drivers/hfpmodem/handsfree.c
+++ b/drivers/hfpmodem/handsfree.c
@@ -191,8 +191,8 @@ out:
}
-static void at_cnum_query(struct ofono_handsfree *hf,
- ofono_handsfree_cnum_query_cb_t cb, void *data)
+static void hfp_cnum_query(struct ofono_handsfree *hf,
+ ofono_handsfree_cnum_query_cb_t cb, void *data)
{
struct hf_data *hd = ofono_handsfree_get_data(hf);
struct cb_data *cbd = cb_data_new(cb, data);
@@ -364,7 +364,7 @@ static struct ofono_handsfree_driver driver = {
.name = "hfpmodem",
.probe = hfp_handsfree_probe,
.remove = hfp_handsfree_remove,
- .cnum_query = at_cnum_query,
+ .cnum_query = hfp_cnum_query,
.request_phone_number = hfp_request_phone_number,
.voice_recognition = hfp_voice_recognition,
.disable_nrec = hfp_disable_nrec,