# HG changeset patch # User Uri Shkolnik <uris@xxxxxxxxxxxx> # Date 1242739840 -10800 # Node ID 08e292f80f37496d8d4b43a542f518196eaa4dc0 # Parent f8e348f2f312e23c42b263738d555221fba844b2 [09051_43] Siano: smssdio - revert to stand alone module From: Uri Shkolnik <uris@xxxxxxxxxxxx> Make the SDIO interface driver a stand alone module. Priority: normal Signed-off-by: Uri Shkolnik <uris@xxxxxxxxxxxx> diff -r f8e348f2f312 -r 08e292f80f37 linux/drivers/media/dvb/siano/smssdio.c --- a/linux/drivers/media/dvb/siano/smssdio.c Tue May 19 15:56:27 2009 +0300 +++ b/linux/drivers/media/dvb/siano/smssdio.c Tue May 19 16:30:40 2009 +0300 @@ -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"); -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html