提交 e701e85b 编写于 作者: J Jean Delvare 提交者: Linus Torvalds

[PATCH] vr41xx: section tags fix

module_init functions must be tagged __init rather than __devinit; likewise,
module_exit functions must be tagged __exit rather than __devexit.
Signed-off-by: NJean Delvare <khali@linux-fr.org>
Cc: Yoichi Yuasa <yuasa@hh.iij4u.or.jp>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 564de74a
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册