Commit 167ebf76 authored by Adrian Bunk's avatar Adrian Bunk Committed by Dmitry Torokhov

Input: hp_sdc.c - fix section mismatch

hp_sdc_exit() mustn't be __exit since it's called from the
__init hp_sdc_register().
Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent eb9ebe67
...@@ -944,11 +944,7 @@ static int __init hp_sdc_init_hppa(struct parisc_device *d) ...@@ -944,11 +944,7 @@ static int __init hp_sdc_init_hppa(struct parisc_device *d)
#endif /* __hppa__ */ #endif /* __hppa__ */
#if !defined(__mc68000__) /* Link error on m68k! */
static void __exit hp_sdc_exit(void)
#else
static void hp_sdc_exit(void) static void hp_sdc_exit(void)
#endif
{ {
write_lock_irq(&hp_sdc.lock); write_lock_irq(&hp_sdc.lock);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment