]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
HID: fix hidraw_exit section mismatch
authorJiri Slaby <jirislaby@gmail.com>
Fri, 17 Oct 2008 16:04:48 +0000 (18:04 +0200)
committerJiri Kosina <jkosina@suse.cz>
Fri, 17 Oct 2008 16:08:22 +0000 (18:08 +0200)
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>
drivers/hid/hidraw.c

index af3edb98df435f2c3fa22fde81350d4f15dcd286..1c23813995aa73d249c1c9bb30fc337ba314fbf7 100644 (file)
@@ -403,7 +403,7 @@ out:
        return result;
 }
 
-void __exit hidraw_exit(void)
+void hidraw_exit(void)
 {
        dev_t dev_id = MKDEV(hidraw_major, 0);