diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2008-10-17 18:04:48 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2008-10-17 18:08:22 +0200 |
commit | 140ae3eb6feb6ae96ba1ff073049beb985ea00e8 (patch) | |
tree | 233d008f80d2d37b214e56bac37ba63a0621ca96 /drivers/hid/hidraw.c | |
parent | 1e093206734568e780c2717da1c89b97e9471954 (diff) | |
download | op-kernel-dev-140ae3eb6feb6ae96ba1ff073049beb985ea00e8.zip op-kernel-dev-140ae3eb6feb6ae96ba1ff073049beb985ea00e8.tar.gz |
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 af3edb9..1c23813 100644 --- a/drivers/hid/hidraw.c +++ b/drivers/hid/hidraw.c @@ -403,7 +403,7 @@ out: return result; } -void __exit hidraw_exit(void) +void hidraw_exit(void) { dev_t dev_id = MKDEV(hidraw_major, 0); |