diff options
Diffstat (limited to 'drivers/net/irda/sh_sir.c')
-rw-r--r-- | drivers/net/irda/sh_sir.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/net/irda/sh_sir.c b/drivers/net/irda/sh_sir.c index ed7d7d62bf68..e6661b5c1f83 100644 --- a/drivers/net/irda/sh_sir.c +++ b/drivers/net/irda/sh_sir.c | |||
@@ -808,18 +808,7 @@ static struct platform_driver sh_sir_driver = { | |||
808 | }, | 808 | }, |
809 | }; | 809 | }; |
810 | 810 | ||
811 | static int __init sh_sir_init(void) | 811 | module_platform_driver(sh_sir_driver); |
812 | { | ||
813 | return platform_driver_register(&sh_sir_driver); | ||
814 | } | ||
815 | |||
816 | static void __exit sh_sir_exit(void) | ||
817 | { | ||
818 | platform_driver_unregister(&sh_sir_driver); | ||
819 | } | ||
820 | |||
821 | module_init(sh_sir_init); | ||
822 | module_exit(sh_sir_exit); | ||
823 | 812 | ||
824 | MODULE_AUTHOR("Kuninori Morimoto <morimoto.kuninori@renesas.com>"); | 813 | MODULE_AUTHOR("Kuninori Morimoto <morimoto.kuninori@renesas.com>"); |
825 | MODULE_DESCRIPTION("SuperH IrDA driver"); | 814 | MODULE_DESCRIPTION("SuperH IrDA driver"); |