mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-06 00:39:48 +00:00
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>
This commit is contained in:
parent
1e09320673
commit
140ae3eb6f
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue