Skip to contentSkip to conversation

HID: fix hidraw_exit section mismatch

PATCH Applied Jiri Slaby 2 participants 2 messages Oct 17, 2008 HID

lore
Share & tools
lore

Jiri Slaby

author
#0 lore raw

PATCH 1/1 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.

---
 drivers/hid/hidraw.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/hid/hidraw.c +1 -1
index af3edb9..1c23813 100644
@@ -403,7 +403,7 @@ out:
 	return result;
 }
 
-void __exit hidraw_exit(void)
+void hidraw_exit(void)
 {
 	dev_t dev_id = MKDEV(hidraw_major, 0);
 
Signature · 1 line
1.6.0.2
Applied
#1 lore raw
Quoted 2 lines · Jiri Slaby

hidraw_exit() marked as __exit is called from __init function from HID core. Remove the section placement from that function.

Thanks, applied.

Signature · 2 lines
Jiri Kosina
SUSE Labs