summaryrefslogtreecommitdiff
path: root/drivers/mbmmodem
diff options
context:
space:
mode:
authorJeevaka Badrappan <jeevaka.badrappan@elektrobit.com>2011-01-12 12:52:06 +0200
committerMarcel Holtmann <marcel@holtmann.org>2011-01-12 08:06:58 -0800
commit0df21d68dfd8fc91395b61529bd44e7468afb70f (patch)
tree2df0db60a029c960f905fe5b7d96ad304f5961f2 /drivers/mbmmodem
parentc91af2de83e6776ebeb879968d1a3a591c8e70aa (diff)
mbmmodem: M15 coding style fix
Diffstat (limited to 'drivers/mbmmodem')
-rw-r--r--drivers/mbmmodem/gprs-context.c4
-rw-r--r--drivers/mbmmodem/mbmmodem.h8
-rw-r--r--drivers/mbmmodem/stk.c4
3 files changed, 8 insertions, 8 deletions
diff --git a/drivers/mbmmodem/gprs-context.c b/drivers/mbmmodem/gprs-context.c
index 0a1ca2c3..b9b4574e 100644
--- a/drivers/mbmmodem/gprs-context.c
+++ b/drivers/mbmmodem/gprs-context.c
@@ -514,12 +514,12 @@ static struct ofono_gprs_context_driver driver = {
.deactivate_primary = mbm_gprs_deactivate_primary,
};
-void mbm_gprs_context_init()
+void mbm_gprs_context_init(void)
{
ofono_gprs_context_driver_register(&driver);
}
-void mbm_gprs_context_exit()
+void mbm_gprs_context_exit(void)
{
ofono_gprs_context_driver_unregister(&driver);
}
diff --git a/drivers/mbmmodem/mbmmodem.h b/drivers/mbmmodem/mbmmodem.h
index 65786d7f..4c6f2633 100644
--- a/drivers/mbmmodem/mbmmodem.h
+++ b/drivers/mbmmodem/mbmmodem.h
@@ -21,8 +21,8 @@
#include <drivers/atmodem/atutil.h>
-extern void mbm_gprs_context_init();
-extern void mbm_gprs_context_exit();
+extern void mbm_gprs_context_init(void);
+extern void mbm_gprs_context_exit(void);
-extern void mbm_stk_init();
-extern void mbm_stk_exit();
+extern void mbm_stk_init(void);
+extern void mbm_stk_exit(void);
diff --git a/drivers/mbmmodem/stk.c b/drivers/mbmmodem/stk.c
index 81c36dba..d0a9f3b2 100644
--- a/drivers/mbmmodem/stk.c
+++ b/drivers/mbmmodem/stk.c
@@ -270,12 +270,12 @@ static struct ofono_stk_driver driver = {
.terminal_response = mbm_stk_terminal_response,
};
-void mbm_stk_init()
+void mbm_stk_init(void)
{
ofono_stk_driver_register(&driver);
}
-void mbm_stk_exit()
+void mbm_stk_exit(void)
{
ofono_stk_driver_unregister(&driver);
}