[PATCH] vr41xx: section tags fix

From: Jean Delvare
Date: Sat Jan 07 2006 - 17:02:07 EST


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@xxxxxxxxxxxx>
---
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/