aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/seeq/sgiseeq.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/seeq/sgiseeq.c')
-rw-r--r--drivers/net/ethernet/seeq/sgiseeq.c18
1 files changed, 1 insertions, 17 deletions
diff --git a/drivers/net/ethernet/seeq/sgiseeq.c b/drivers/net/ethernet/seeq/sgiseeq.c
index c3673f151a41..f955a19eb22f 100644
--- a/drivers/net/ethernet/seeq/sgiseeq.c
+++ b/drivers/net/ethernet/seeq/sgiseeq.c
@@ -834,23 +834,7 @@ static struct platform_driver sgiseeq_driver = {
834 } 834 }
835}; 835};
836 836
837static int __init sgiseeq_module_init(void) 837module_platform_driver(sgiseeq_driver);
838{
839 if (platform_driver_register(&sgiseeq_driver)) {
840 printk(KERN_ERR "Driver registration failed\n");
841 return -ENODEV;
842 }
843
844 return 0;
845}
846
847static void __exit sgiseeq_module_exit(void)
848{
849 platform_driver_unregister(&sgiseeq_driver);
850}
851
852module_init(sgiseeq_module_init);
853module_exit(sgiseeq_module_exit);
854 838
855MODULE_DESCRIPTION("SGI Seeq 8003 driver"); 839MODULE_DESCRIPTION("SGI Seeq 8003 driver");
856MODULE_AUTHOR("Linux/MIPS Mailing List <linux-mips@linux-mips.org>"); 840MODULE_AUTHOR("Linux/MIPS Mailing List <linux-mips@linux-mips.org>");