From: Bartlomiej Zolnierkiewicz Date: Thu, 24 Jul 2008 20:53:27 +0000 (+0200) Subject: icside: add module_exit() X-Git-Tag: v2.6.27-rc1~509^2~28 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e27cb1135de4cc69bf358209f91e1f7ba81eca1;p=linux-2.6 icside: add module_exit() Cc: Russell King Signed-off-by: Bartlomiej Zolnierkiewicz --- diff --git a/drivers/ide/arm/icside.c b/drivers/ide/arm/icside.c index f575e8341a..df4af40839 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 "); MODULE_LICENSE("GPL"); MODULE_DESCRIPTION("ICS IDE driver"); module_init(icside_init); +module_exit(icside_exit);