aboutsummaryrefslogtreecommitdiff
path: root/drivers/hid/hidraw.c
diff options
context:
space:
mode:
authorJiri Slaby <jirislaby@gmail.com>2008-10-17 18:04:48 +0200
committerJiri Kosina <jkosina@suse.cz>2008-10-17 18:08:22 +0200
commit140ae3eb6feb6ae96ba1ff073049beb985ea00e8 (patch)
tree233d008f80d2d37b214e56bac37ba63a0621ca96 /drivers/hid/hidraw.c
parent1e093206734568e780c2717da1c89b97e9471954 (diff)
downloadlinux-2.6.38-lt-ux500-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/hidraw.c b/drivers/hid/hidraw.c
index af3edb98df4..1c23813995a 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);