diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-07-24 16:53:27 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-07-24 16:53:27 -0400 |
commit | 37c5ef56989717d871d048f98fb6411e7a17c43d (patch) | |
tree | cab0ca579ace4cbd61850d62c9e43de47293ec54 /drivers/ide | |
parent | 8e27cb1135de4cc69bf358209f91e1f7ba81eca1 (diff) |
rapide: add module_exit()
Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide')
-rw-r--r-- | drivers/ide/arm/rapide.c | 6 |
1 files changed, 6 insertions, 0 deletions
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) | |||
95 | return ecard_register_driver(&rapide_driver); | 95 | return ecard_register_driver(&rapide_driver); |
96 | } | 96 | } |
97 | 97 | ||
98 | static void __exit rapide_exit(void) | ||
99 | { | ||
100 | ecard_unregister_driver(&rapide_driver); | ||
101 | } | ||
102 | |||
98 | MODULE_LICENSE("GPL"); | 103 | MODULE_LICENSE("GPL"); |
99 | MODULE_DESCRIPTION("Yellowstone RAPIDE driver"); | 104 | MODULE_DESCRIPTION("Yellowstone RAPIDE driver"); |
100 | 105 | ||
101 | module_init(rapide_init); | 106 | module_init(rapide_init); |
107 | module_exit(rapide_exit); | ||