summaryrefslogtreecommitdiffstats
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
parent1e093206734568e780c2717da1c89b97e9471954 (diff)
downloadkernel-crypto-140ae3eb6feb6ae96ba1ff073049beb985ea00e8.tar.gz
kernel-crypto-140ae3eb6feb6ae96ba1ff073049beb985ea00e8.tar.xz
kernel-crypto-140ae3eb6feb6ae96ba1ff073049beb985ea00e8.zip
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>
-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);