From: Andrew Morton Cc: Dmitry Torokhov Cc: Jiri Kosina Cc: Samuel Thibault Signed-off-by: Andrew Morton --- drivers/char/keyboard.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff -puN drivers/char/keyboard.c~console-keyboard-events-and-accessibility-fix drivers/char/keyboard.c --- a/drivers/char/keyboard.c~console-keyboard-events-and-accessibility-fix +++ a/drivers/char/keyboard.c @@ -82,7 +82,7 @@ typedef void (k_handler_fn)(struct vc_da char up_flag); static k_handler_fn K_HANDLERS; k_handler_fn *k_handler[16] = { K_HANDLERS }; -EXPORT_SYMBOL(k_handler); +EXPORT_SYMBOL_GPL(k_handler); #define FN_HANDLERS\ fn_null, fn_enter, fn_show_ptregs, fn_show_mem,\ @@ -169,13 +169,13 @@ int register_keyboard_notifier(struct no { return atomic_notifier_chain_register(&keyboard_notifier_list, nb); } -EXPORT_SYMBOL(register_keyboard_notifier); +EXPORT_SYMBOL_GPL(register_keyboard_notifier); int unregister_keyboard_notifier(struct notifier_block *nb) { return atomic_notifier_chain_unregister(&keyboard_notifier_list, nb); } -EXPORT_SYMBOL(unregister_keyboard_notifier); +EXPORT_SYMBOL_GPL(unregister_keyboard_notifier); /* * Translation of scancodes to keycodes. We set them on only the first _