Skip to content

Commit

Permalink
Input: hp_sdc.c - fix section mismatch
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adrian Bunk authored and Dmitry Torokhov committed Oct 28, 2007
1 parent eb9ebe6 commit 167ebf7
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/input/serio/hp_sdc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 167ebf7

Please sign in to comment.