Skip to content

Commit

Permalink
HID: fix hidraw_exit section mismatch
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jiri Slaby authored and Jiri Kosina committed Oct 17, 2008
1 parent 1e09320 commit 140ae3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/hid/hidraw.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 140ae3e

Please sign in to comment.