]> git.baikalelectronics.ru Git - kernel.git/commit
Input: tc3589x-keypad - fix section mismatch warning
authorHarvey Yang <harvey.huawei.yang@gmail.com>
Thu, 8 Sep 2011 16:46:55 +0000 (09:46 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 8 Sep 2011 16:51:10 +0000 (09:51 -0700)
commit1ce2919a452f0fba18d6db1cebd261199225e0de
tree859b1ce7800425cfcc80c2eee194a88b7be3c8c8
parent270205da76e0d40ceda7d07e0caf28e520a14ce6
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>
drivers/input/keyboard/tc3589x-keypad.c