diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-05-19 14:15:01 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-05-19 14:15:01 +0000 |
commit | f19c04a5b4926e17938cbdd708d40446e806509d (patch) | |
tree | 2623c9f0d5d247bf5cd01b6dac08972b3f96315d /linux | |
parent | a47bd9ff056af0e4adfc7755b121000827d8972f (diff) | |
download | mediapointer-dvb-s2-f19c04a5b4926e17938cbdd708d40446e806509d.tar.gz mediapointer-dvb-s2-f19c04a5b4926e17938cbdd708d40446e806509d.tar.bz2 |
Siano: smssdio - revert to stand alone module
From: Uri Shkolnik <uris@siano-ms.com>
Make the SDIO interface driver a stand alone module.
Priority: normal
Signed-off-by: Uri Shkolnik <uris@siano-ms.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux')
-rw-r--r-- | linux/drivers/media/dvb/siano/smssdio.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/siano/smssdio.c b/linux/drivers/media/dvb/siano/smssdio.c index 4f8fa59a9..dfaa49a53 100644 --- a/linux/drivers/media/dvb/siano/smssdio.c +++ b/linux/drivers/media/dvb/siano/smssdio.c @@ -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"); |