Skip to content

Commit

Permalink
[PATCH] vr41xx: section tags fix
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jean Delvare authored and Linus Torvalds committed Jan 9, 2006
1 parent 564de74 commit e701e85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/char/vr41xx_giu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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);

Expand Down

0 comments on commit e701e85

Please sign in to comment.