icside: add module_exit()

Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
parent 585f67e7
...@@ -710,8 +710,14 @@ static int __init icside_init(void) ...@@ -710,8 +710,14 @@ static int __init icside_init(void)
return ecard_register_driver(&icside_driver); return ecard_register_driver(&icside_driver);
} }
static void __exit icside_exit(void);
{
ecard_unregister_driver(&icside_driver);
}
MODULE_AUTHOR("Russell King <rmk@arm.linux.org.uk>"); MODULE_AUTHOR("Russell King <rmk@arm.linux.org.uk>");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("ICS IDE driver"); MODULE_DESCRIPTION("ICS IDE driver");
module_init(icside_init); module_init(icside_init);
module_exit(icside_exit);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment