1
0
Fork 0

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 <geert@linux-m68k.org>
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
hifive-unleashed-5.1
Jiri Slaby 2008-10-17 18:04:48 +02:00 committed by Jiri Kosina
parent 1e09320673
commit 140ae3eb6f
1 changed files with 1 additions and 1 deletions

View 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);