diff options
author | Harvey Yang <harvey.huawei.yang@gmail.com> | 2011-09-08 12:46:55 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2011-09-08 12:51:10 -0400 |
commit | 9299c08d8bfc7256645f4bf3943f80d8943fe844 (patch) | |
tree | 859b1ce7800425cfcc80c2eee194a88b7be3c8c8 /drivers | |
parent | ec4665c46b11f6e444911ba73dddae6044dec909 (diff) |
Input: tc3589x-keypad - fix section mismatch warning
WARNING: drivers/input/keyboard/built-in.o(.text+0xb55b): Section mismatch in reference from the function tc3589x_keypad_open() to the function .devinit.text:tc3589x_keypad_init_key_hardware()
The function tc3589x_keypad_open() references
the function __devinit tc3589x_keypad_init_key_hardware().
This is often because tc3589x_keypad_open lacks a __devinit
annotation or the annotation of tc3589x_keypad_init_key_hardware is wrong.
Signed-off-by: Harvey Yang <harvey.huawei.yang@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/input/keyboard/tc3589x-keypad.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/keyboard/tc3589x-keypad.c b/drivers/input/keyboard/tc3589x-keypad.c index 99122f59e988..f60c9e82f204 100644 --- a/drivers/input/keyboard/tc3589x-keypad.c +++ b/drivers/input/keyboard/tc3589x-keypad.c | |||
@@ -90,7 +90,7 @@ struct tc_keypad { | |||
90 | bool keypad_stopped; | 90 | bool keypad_stopped; |
91 | }; | 91 | }; |
92 | 92 | ||
93 | static int __devinit tc3589x_keypad_init_key_hardware(struct tc_keypad *keypad) | 93 | static int tc3589x_keypad_init_key_hardware(struct tc_keypad *keypad) |
94 | { | 94 | { |
95 | int ret; | 95 | int ret; |
96 | struct tc3589x *tc3589x = keypad->tc3589x; | 96 | struct tc3589x *tc3589x = keypad->tc3589x; |