summaryrefslogtreecommitdiff
path: root/drivers/input/mxc_keyb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/mxc_keyb.c')
-rw-r--r--drivers/input/mxc_keyb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/input/mxc_keyb.c b/drivers/input/mxc_keyb.c
index 8682b79..ec65ab5 100644
--- a/drivers/input/mxc_keyb.c
+++ b/drivers/input/mxc_keyb.c
@@ -122,7 +122,7 @@ extern void setup_mxc_kpd(void);
*
* @result Number of key pressed/released.
*/
-static int mxc_kpp_scan_matrix()
+static int mxc_kpp_scan_matrix(void)
{
unsigned short reg_val;
int col, row;
@@ -289,7 +289,7 @@ static int mxc_kpp_scan_matrix()
return keycnt;
}
-static int mxc_kpp_reset()
+static int mxc_kpp_reset(void)
{
unsigned short reg_val;
int i;
@@ -485,7 +485,7 @@ static void mxc_kpp_free_allocated(void)
* @return The function returns 0 on successful registration. Otherwise returns
* specific error code.
*/
-int mxc_kpp_init()
+int mxc_kpp_init(void)
{
int i;
int retval;