From: Bartlomiej Zolnierkiewicz Date: Thu, 24 Jul 2008 20:53:27 +0000 (+0200) Subject: icside: add module_exit() X-Git-Tag: MMI-PSA29.97-13-9~33097^2~28 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8e27cb1135de4cc69bf358209f91e1f7ba81eca1;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.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 f575e8341aec..df4af4083954 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);