Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -403,7 +403,7 @@ int __init hidraw_init(void)
	return result;
}

void __exit hidraw_exit(void)
void hidraw_exit(void)
{
	dev_t dev_id = MKDEV(hidraw_major, 0);