From: Bartlomiej Zolnierkiewicz Date: Thu, 24 Jul 2008 20:53:27 +0000 (+0200) Subject: rapide: add module_exit() X-Git-Tag: MMI-PSA29.97-13-9~33097^2~27 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=37c5ef56989717d871d048f98fb6411e7a17c43d;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git rapide: add module_exit() Cc: Russell King Signed-off-by: Bartlomiej Zolnierkiewicz --- diff --git a/drivers/ide/arm/rapide.c b/drivers/ide/arm/rapide.c index 2bdd8b734afb..78d27d9ae430 100644 --- a/drivers/ide/arm/rapide.c +++ b/drivers/ide/arm/rapide.c @@ -95,7 +95,13 @@ static int __init rapide_init(void) return ecard_register_driver(&rapide_driver); } +static void __exit rapide_exit(void) +{ + ecard_unregister_driver(&rapide_driver); +} + MODULE_LICENSE("GPL"); MODULE_DESCRIPTION("Yellowstone RAPIDE driver"); module_init(rapide_init); +module_exit(rapide_exit);