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:
parent
d0b66180c3
commit
db9582a1e4
1 changed files with 5 additions and 2 deletions
|
@ -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)
|
||||||
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");
|
||||||
|
|
Loading…
Reference in a new issue