Commit db9582a1 authored by Uri Shkolnik's avatar Uri Shkolnik Committed by Mauro Carvalho Chehab

V4L/DVB (11884): Siano: smssdio - revert to stand alone module

Make the SDIO interface driver a stand alone module.
Signed-off-by: default avatarUri Shkolnik <uris@siano-ms.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent d0b66180
...@@ -332,7 +332,7 @@ static struct sdio_driver smssdio_driver = { ...@@ -332,7 +332,7 @@ static struct sdio_driver smssdio_driver = {
/* Module functions */ /* Module functions */
/*******************************************************************/ /*******************************************************************/
int smssdio_register(void) int smssdio_module_init(void)
{ {
int ret = 0; int ret = 0;
...@@ -344,11 +344,14 @@ int smssdio_register(void) ...@@ -344,11 +344,14 @@ int smssdio_register(void)
return ret; return ret;
} }
void smssdio_unregister(void) void smssdio_module_exit(void)
{ {
sdio_unregister_driver(&smssdio_driver); sdio_unregister_driver(&smssdio_driver);
} }
module_init(smssdio_module_init);
module_exit(smssdio_module_exit);
MODULE_DESCRIPTION("Siano SMS1xxx SDIO driver"); MODULE_DESCRIPTION("Siano SMS1xxx SDIO driver");
MODULE_AUTHOR("Pierre Ossman"); MODULE_AUTHOR("Pierre Ossman");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
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