From: Jiri Slaby Date: Fri, 17 Oct 2008 16:04:48 +0000 (+0200) Subject: HID: fix hidraw_exit section mismatch X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=140ae3eb6feb6ae96ba1ff073049beb985ea00e8;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.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 af3edb98df43..1c23813995aa 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);