HID: fix hidraw_exit section mismatch
PATCH 1/1 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 <[email protected]>
Signed-off-by Jiri Slaby <[email protected]>
--- drivers/hid/hidraw.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/hid/hidraw.c +1 -1
@@ -403,7 +403,7 @@ out:return result; } -void __exit hidraw_exit(void) +void hidraw_exit (void ) {dev_t dev_id =MKDEV (hidraw_major,0 );
Signature · 1 line
1.6.0.2
Jiri Kosina
AppliedQuoted 2 lines · Jiri Slaby
hidraw_exit()marked as__exitis called from__initfunction from HID core. Remove the section placement from that function.
Thanks, applied.
Signature · 2 lines
Jiri Kosina SUSE Labs