diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2008-10-17 12:04:48 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2008-10-17 12:08:22 -0400 |
commit | 140ae3eb6feb6ae96ba1ff073049beb985ea00e8 (patch) | |
tree | 233d008f80d2d37b214e56bac37ba63a0621ca96 /drivers/hid/hidraw.c | |
parent | 1e093206734568e780c2717da1c89b97e9471954 (diff) |
HID: fix hidraw_exit section mismatch
hidraw_exit() marked as __exit is called from __init function
from HID core. Remove the section placement from that function.
Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hidraw.c')
-rw-r--r-- | drivers/hid/hidraw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/hidraw.c b/drivers/hid/hidraw.c index af3edb98df43..1c23813995aa 100644 --- a/drivers/hid/hidraw.c +++ b/drivers/hid/hidraw.c | |||
@@ -403,7 +403,7 @@ out: | |||
403 | return result; | 403 | return result; |
404 | } | 404 | } |
405 | 405 | ||
406 | void __exit hidraw_exit(void) | 406 | void hidraw_exit(void) |
407 | { | 407 | { |
408 | dev_t dev_id = MKDEV(hidraw_major, 0); | 408 | dev_t dev_id = MKDEV(hidraw_major, 0); |
409 | 409 | ||