Commit 140ae3eb authored by Jiri Slaby's avatar Jiri Slaby Committed by Jiri Kosina

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: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: default avatarJiri Slaby <jirislaby@gmail.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 1e093206
...@@ -403,7 +403,7 @@ int __init hidraw_init(void) ...@@ -403,7 +403,7 @@ int __init hidraw_init(void)
return result; return result;
} }
void __exit hidraw_exit(void) void hidraw_exit(void)
{ {
dev_t dev_id = MKDEV(hidraw_major, 0); dev_t dev_id = MKDEV(hidraw_major, 0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment