diff options
author | Uri Shkolnik <uris@siano-ms.com> | 2009-05-19 10:15:01 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-06-16 18:14:38 -0400 |
commit | db9582a1e447daffec54a7172f6f824cfaed0a8e (patch) | |
tree | 0be42eeddc381b72d2d7db0bc6b339ea616058a1 /drivers | |
parent | d0b66180c3b288678853e31ec4330b2b5d01e2db (diff) |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/dvb/siano/smssdio.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/media/dvb/siano/smssdio.c b/drivers/media/dvb/siano/smssdio.c index 4f8fa59a995a..dfaa49a53f32 100644 --- a/drivers/media/dvb/siano/smssdio.c +++ b/drivers/media/dvb/siano/smssdio.c | |||
@@ -332,7 +332,7 @@ static struct sdio_driver smssdio_driver = { | |||
332 | /* Module functions */ | 332 | /* Module functions */ |
333 | /*******************************************************************/ | 333 | /*******************************************************************/ |
334 | 334 | ||
335 | int smssdio_register(void) | 335 | int smssdio_module_init(void) |
336 | { | 336 | { |
337 | int ret = 0; | 337 | int ret = 0; |
338 | 338 | ||
@@ -344,11 +344,14 @@ int smssdio_register(void) | |||
344 | return ret; | 344 | return ret; |
345 | } | 345 | } |
346 | 346 | ||
347 | void smssdio_unregister(void) | 347 | void smssdio_module_exit(void) |
348 | { | 348 | { |
349 | sdio_unregister_driver(&smssdio_driver); | 349 | sdio_unregister_driver(&smssdio_driver); |
350 | } | 350 | } |
351 | 351 | ||
352 | module_init(smssdio_module_init); | ||
353 | module_exit(smssdio_module_exit); | ||
354 | |||
352 | MODULE_DESCRIPTION("Siano SMS1xxx SDIO driver"); | 355 | MODULE_DESCRIPTION("Siano SMS1xxx SDIO driver"); |
353 | MODULE_AUTHOR("Pierre Ossman"); | 356 | MODULE_AUTHOR("Pierre Ossman"); |
354 | MODULE_LICENSE("GPL"); | 357 | MODULE_LICENSE("GPL"); |