diff options
author | Adrian Bunk <bunk@kernel.org> | 2007-10-27 23:42:54 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2007-10-27 23:42:54 -0400 |
commit | 167ebf760fcecf72824756c8235e2d30f050bedd (patch) | |
tree | e969f22dacc122a7453c515a259a9ee46a335123 | |
parent | eb9ebe677d7b4d94ca1bb2677f73a64d70dda24c (diff) |
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>
-rw-r--r-- | drivers/input/serio/hp_sdc.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/input/serio/hp_sdc.c b/drivers/input/serio/hp_sdc.c index 6af199805ffc..02b3ad8c0826 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) | |||
944 | 944 | ||
945 | #endif /* __hppa__ */ | 945 | #endif /* __hppa__ */ |
946 | 946 | ||
947 | #if !defined(__mc68000__) /* Link error on m68k! */ | ||
948 | static void __exit hp_sdc_exit(void) | ||
949 | #else | ||
950 | static void hp_sdc_exit(void) | 947 | static void hp_sdc_exit(void) |
951 | #endif | ||
952 | { | 948 | { |
953 | write_lock_irq(&hp_sdc.lock); | 949 | write_lock_irq(&hp_sdc.lock); |
954 | 950 | ||