mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] vr41xx: section tags fix
@ 2006-01-07 22:03 Jean Delvare
  0 siblings, 0 replies; only message in thread
From: Jean Delvare @ 2006-01-07 22:03 UTC (permalink / raw)
  To: Andrew Morton; +Cc: LKML, Yoichi Yuasa

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.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
---
 drivers/char/vr41xx_giu.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- linux-2.6.15-rc5.orig/drivers/char/vr41xx_giu.c	2005-11-12 15:49:50.000000000 +0100
+++ linux-2.6.15-rc5/drivers/char/vr41xx_giu.c	2005-12-11 17:12:58.000000000 +0100
@@ -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);
 


-- 
Jean Delvare

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-01-07 22:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-07 22:03 [PATCH] vr41xx: section tags fix Jean Delvare

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome