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: http://pilppa.com/gitweb/?a=commitdiff_plain;h=8e27cb1135de4cc69bf358209f91e1f7ba81eca1;p=linux-2.6-omap-h63xx.git 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 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 "); MODULE_LICENSE("GPL"); MODULE_DESCRIPTION("ICS IDE driver"); module_init(icside_init); +module_exit(icside_exit);