From: Jiri Slaby Date: Fri, 17 Oct 2008 16:04:48 +0000 (+0200) Subject: HID: fix hidraw_exit section mismatch X-Git-Tag: v2.6.28-rc3~106^2~7 X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=140ae3eb6feb6ae96ba1ff073049beb985ea00e8;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: Jiri Slaby Signed-off-by: Jiri Kosina --- 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);