summaryrefslogtreecommitdiffstats
path: root/arch/mips/mti-sead3/sead3-net.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2015-04-02 16:19:29 +0200
committerRalf Baechle <ralf@linux-mips.org>2015-04-02 16:19:29 +0200
commit9d4b5b9e869677154bc5dd27f9cb57c8141deca5 (patch)
tree1a5be8e5a9144234ae3fa2f891662543684401c3 /arch/mips/mti-sead3/sead3-net.c
parente754dfcfe37f49c9249152e2e98e58887a4d87c8 (diff)
downloadblackbird-op-linux-9d4b5b9e869677154bc5dd27f9cb57c8141deca5.tar.gz
blackbird-op-linux-9d4b5b9e869677154bc5dd27f9cb57c8141deca5.zip
MIPS: SEAD3: sead3-net is not a module.
So let's remove everything that only makes sense for kernel modules. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/mti-sead3/sead3-net.c')
-rw-r--r--arch/mips/mti-sead3/sead3-net.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/arch/mips/mti-sead3/sead3-net.c b/arch/mips/mti-sead3/sead3-net.c
index 46176b804576..16895f8eea41 100644
--- a/arch/mips/mti-sead3/sead3-net.c
+++ b/arch/mips/mti-sead3/sead3-net.c
@@ -5,7 +5,7 @@
*
* Copyright (C) 2012 MIPS Technologies, Inc. All rights reserved.
*/
-#include <linux/module.h>
+#include <linux/init.h>
#include <linux/irq.h>
#include <linux/irqchip/mips-gic.h>
#include <linux/platform_device.h>
@@ -50,8 +50,4 @@ static int __init sead3_net_init(void)
return platform_device_register(&sead3_net_device);
}
-module_init(sead3_net_init);
-
-MODULE_AUTHOR("Chris Dearman <chris@mips.com>");
-MODULE_LICENSE("GPL");
-MODULE_DESCRIPTION("Network probe driver for SEAD-3");
+device_initcall(sead3_net_init);
OpenPOWER on IntegriCloud