Skip to contentSkip to conversation

vr41xx: section tags fix

PATCH New Jean Delvare 1 participant 1 message Jan 7, 2006 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 vr41xx: section tags fix

Hi Andrew,

Can you please pick this patch for -mm? I sent it to Yoichi Yuasa one month ago but didn't get any answer. Thanks.

Content-Disposition: inline; filename=vr41xx-section-tags-fix.patch

module_init functions must be tagged __init rather than __devinit; likewise, module_exit functions must be tagged __exit rather than __devexit.

---
 drivers/char/vr41xx_giu.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/char/vr41xx_giu.c +2 -2
@@ -718,7 +718,7 @@
 	},
 };
 
-static int __devinit vr41xx_giu_init(void)
+static int __init vr41xx_giu_init(void)
 {
 	int retval;
 
@@ -733,7 +733,7 @@
 	return retval;
 }
 
-static void __devexit vr41xx_giu_exit(void)
+static void __exit vr41xx_giu_exit(void)
 {
 	platform_driver_unregister(&giu_device_driver);
 
Signature · 1 line
Jean Delvare