summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-07-24 22:53:27 +0200
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-07-24 22:53:27 +0200
commit8e27cb1135de4cc69bf358209f91e1f7ba81eca1 (patch)
tree629fb8f64f9413ad13952a9eab8dbaef0ef1ad06
parent585f67e736eece4cdf96b628042170273221e770 (diff)
downloadlinux-3.10-8e27cb1135de4cc69bf358209f91e1f7ba81eca1.tar.gz
linux-3.10-8e27cb1135de4cc69bf358209f91e1f7ba81eca1.tar.bz2
linux-3.10-8e27cb1135de4cc69bf358209f91e1f7ba81eca1.zip
icside: add module_exit()
Cc: Russell King <rmk@arm.linux.org.uk> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
-rw-r--r--drivers/ide/arm/icside.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/ide/arm/icside.c b/drivers/ide/arm/icside.c
index f575e8341ae..df4af408395 100644
--- a/drivers/ide/arm/icside.c
+++ b/drivers/ide/arm/icside.c
@@ -710,8 +710,14 @@ static int __init icside_init(void)
return ecard_register_driver(&icside_driver);
}
+static void __exit icside_exit(void);
+{
+ ecard_unregister_driver(&icside_driver);
+}
+
MODULE_AUTHOR("Russell King <rmk@arm.linux.org.uk>");
MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("ICS IDE driver");
module_init(icside_init);
+module_exit(icside_exit);