]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] vr41xx: section tags fix
authorJean Delvare <khali@linux-fr.org>
Sun, 8 Jan 2006 09:05:18 +0000 (01:05 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 9 Jan 2006 04:14:10 +0000 (20:14 -0800)
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>
Cc: Yoichi Yuasa <yuasa@hh.iij4u.or.jp>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/vr41xx_giu.c

index 9ac6d43437b3cb6b1e4aa27529c11b79c77298fb..a5b18e086a9467f8a36053456aaacd1c308a9ee0 100644 (file)
@@ -718,7 +718,7 @@ static struct platform_driver giu_device_driver = {
        },
 };
 
-static int __devinit vr41xx_giu_init(void)
+static int __init vr41xx_giu_init(void)
 {
        int retval;
 
@@ -733,7 +733,7 @@ static int __devinit vr41xx_giu_init(void)
        return retval;
 }
 
-static void __devexit vr41xx_giu_exit(void)
+static void __exit vr41xx_giu_exit(void)
 {
        platform_driver_unregister(&giu_device_driver);