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

Make the SDIO interface driver a stand alone module.

Signed-off-by: Uri Shkolnik <uris@siano-ms.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
Uri Shkolnik 2009-05-19 11:15:01 -03:00 committed by Mauro Carvalho Chehab
parent d0b66180c3
commit db9582a1e4

View file

@ -332,7 +332,7 @@ static struct sdio_driver smssdio_driver = {
/* Module functions */
/*******************************************************************/
int smssdio_register(void)
int smssdio_module_init(void)
{
int ret = 0;
@ -344,11 +344,14 @@ int smssdio_register(void)
return ret;
}
void smssdio_unregister(void)
void smssdio_module_exit(void)
{
sdio_unregister_driver(&smssdio_driver);
}
module_init(smssdio_module_init);
module_exit(smssdio_module_exit);
MODULE_DESCRIPTION("Siano SMS1xxx SDIO driver");
MODULE_AUTHOR("Pierre Ossman");
MODULE_LICENSE("GPL");