• Harvey Yang's avatar
    Input: tc3589x-keypad - fix section mismatch warning · 9299c08d
    Harvey Yang authored
    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: default avatarHarvey Yang <harvey.huawei.yang@gmail.com>
    Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
    9299c08d
tc3589x-keypad.c 11.8 KB