summaryrefslogtreecommitdiff
path: root/arch/mips/mti-sead3/sead3-ehci.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2015-04-02 16:26:32 +0200
committerRalf Baechle <ralf@linux-mips.org>2015-04-02 16:26:32 +0200
commit6b09adcf6a96bbc1d7456b0a4da160fa737c6c2f (patch)
tree78370ca1f550cf72a54e66e2dab16f06986e253c /arch/mips/mti-sead3/sead3-ehci.c
parent85f215cf9b8a8888e1742bbfb00a29f609f28022 (diff)
MIPS: SEAD3: sead3-ehci should not be a module.
So let's remove everythig that only make sense for a kernel module and build the thing unconditionally. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/mti-sead3/sead3-ehci.c')
-rw-r--r--arch/mips/mti-sead3/sead3-ehci.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/arch/mips/mti-sead3/sead3-ehci.c b/arch/mips/mti-sead3/sead3-ehci.c
index 014dd7ba4d68..c46b14f3ccb7 100644
--- a/arch/mips/mti-sead3/sead3-ehci.c
+++ b/arch/mips/mti-sead3/sead3-ehci.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/dma-mapping.h>
#include <linux/platform_device.h>
@@ -46,8 +46,4 @@ static int __init ehci_init(void)
return platform_device_register(&ehci_device);
}
-module_init(ehci_init);
-
-MODULE_AUTHOR("Chris Dearman <chris@mips.com>");
-MODULE_LICENSE("GPL");
-MODULE_DESCRIPTION("EHCI probe driver for SEAD3");
+device_initcall(ehci_init);