提交 140ae3eb 编写于 作者: J Jiri Slaby 提交者: 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: NGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: NJiri Slaby <jirislaby@gmail.com>
Signed-off-by: NJiri Kosina <jkosina@suse.cz>
上级 1e093206
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册