From: Adrian Bunk Date: Sun, 28 Oct 2007 03:42:54 +0000 (-0400) Subject: Input: hp_sdc.c - fix section mismatch X-Git-Tag: v2.6.24-rc8~14^2~17 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=167ebf760fcecf72824756c8235e2d30f050bedd;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git 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 Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/serio/hp_sdc.c b/drivers/input/serio/hp_sdc.c index 6af1998..02b3ad8 100644 --- a/drivers/input/serio/hp_sdc.c +++ b/drivers/input/serio/hp_sdc.c @@ -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);