summaryrefslogtreecommitdiffstats
path: root/drivers/message/i2o/driver.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2006-12-13 09:33:53 +0100
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-13 18:05:47 +0100
commitd78437245aa3842e8eeaef2709753ac485465652 (patch)
tree42ca5c01dcf10553c984be9b87bc3aa20984e15a /drivers/message/i2o/driver.c
parent[PATCH] isdn/gigaset: fix possible missing wakeup (diff)
downloadlinux-d78437245aa3842e8eeaef2709753ac485465652.tar.xz
linux-d78437245aa3842e8eeaef2709753ac485465652.zip
[PATCH] i2o_exec_exit and i2o_driver_exit should not be __exit.
i2o_exec_exit and i2o_driver_exit were marked as __exit which is a bug because both are invoked from __init and __exit functions. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Cc: Markus Lidel <Markus.Lidel@shadowconnect.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/message/i2o/driver.c')
-rw-r--r--drivers/message/i2o/driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/message/i2o/driver.c b/drivers/message/i2o/driver.c
index 9104b65ff70f..d3235f213c89 100644
--- a/drivers/message/i2o/driver.c
+++ b/drivers/message/i2o/driver.c
@@ -362,7 +362,7 @@ int __init i2o_driver_init(void)
*
* Unregisters the I2O bus and frees driver array.
*/
-void __exit i2o_driver_exit(void)
+void i2o_driver_exit(void)
{
bus_unregister(&i2o_bus_type);
kfree(i2o_drivers);