diff options
author | Jean Delvare <khali@linux-fr.org> | 2006-01-08 04:05:18 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-08 23:14:10 -0500 |
commit | e701e85b9f12af4dbe73b4299b541686ef6b1aa5 (patch) | |
tree | 286ca3736e2138c3ca157b22db32b09628c72a1a /drivers/char/vr41xx_giu.c | |
parent | 564de74a7e2778e1d11b2d2e50ee8dab1cf1456a (diff) |
[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: 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>
Diffstat (limited to 'drivers/char/vr41xx_giu.c')
-rw-r--r-- | drivers/char/vr41xx_giu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/vr41xx_giu.c b/drivers/char/vr41xx_giu.c index 9ac6d43437b3..a5b18e086a94 100644 --- a/drivers/char/vr41xx_giu.c +++ b/drivers/char/vr41xx_giu.c | |||
@@ -718,7 +718,7 @@ static struct platform_driver giu_device_driver = { | |||
718 | }, | 718 | }, |
719 | }; | 719 | }; |
720 | 720 | ||
721 | static int __devinit vr41xx_giu_init(void) | 721 | static int __init vr41xx_giu_init(void) |
722 | { | 722 | { |
723 | int retval; | 723 | int retval; |
724 | 724 | ||
@@ -733,7 +733,7 @@ static int __devinit vr41xx_giu_init(void) | |||
733 | return retval; | 733 | return retval; |
734 | } | 734 | } |
735 | 735 | ||
736 | static void __devexit vr41xx_giu_exit(void) | 736 | static void __exit vr41xx_giu_exit(void) |
737 | { | 737 | { |
738 | platform_driver_unregister(&giu_device_driver); | 738 | platform_driver_unregister(&giu_device_driver); |
739 | 739 | ||