mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 05:02:12 +00:00
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: Adrian Bunk <bunk@kernel.org> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
This commit is contained in:
parent
eb9ebe677d
commit
167ebf760f
@ -944,11 +944,7 @@ static int __init hp_sdc_init_hppa(struct parisc_device *d)
|
||||
|
||||
#endif /* __hppa__ */
|
||||
|
||||
#if !defined(__mc68000__) /* Link error on m68k! */
|
||||
static void __exit hp_sdc_exit(void)
|
||||
#else
|
||||
static void hp_sdc_exit(void)
|
||||
#endif
|
||||
{
|
||||
write_lock_irq(&hp_sdc.lock);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user