aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/irda/sh_sir.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/irda/sh_sir.c')
-rw-r--r--drivers/net/irda/sh_sir.c13
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
811static int __init sh_sir_init(void) 811module_platform_driver(sh_sir_driver);
812{
813 return platform_driver_register(&sh_sir_driver);
814}
815
816static void __exit sh_sir_exit(void)
817{
818 platform_driver_unregister(&sh_sir_driver);
819}
820
821module_init(sh_sir_init);
822module_exit(sh_sir_exit);
823 812
824MODULE_AUTHOR("Kuninori Morimoto <morimoto.kuninori@renesas.com>"); 813MODULE_AUTHOR("Kuninori Morimoto <morimoto.kuninori@renesas.com>");
825MODULE_DESCRIPTION("SuperH IrDA driver"); 814MODULE_DESCRIPTION("SuperH IrDA driver");