forked from Minki/linux
rapide: add module_exit()
Cc: Russell King <rmk@arm.linux.org.uk> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
This commit is contained in:
parent
8e27cb1135
commit
37c5ef5698
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user