summaryrefslogtreecommitdiff
path: root/arch/mips/cobalt/setup.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-06-21 13:56:30 +0000
committerRalf Baechle <ralf@linux-mips.org>2005-10-29 19:30:18 +0100
commitc83cfc9c9477d0bc0e0a1ba29dfc58e0d42b2faf (patch)
tree86c613b44ae25af1808b81dde2a4dc0274647194 /arch/mips/cobalt/setup.c
parent8c93650890a33318263880dec36603a6d5749b7e (diff)
Get rid of early_init. There's more need to make this form of
initialization actually useful and as is certainly unmergable with upstream. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/cobalt/setup.c')
-rw-r--r--arch/mips/cobalt/setup.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/mips/cobalt/setup.c b/arch/mips/cobalt/setup.c
index 6b4737e425e..f8138c15a53 100644
--- a/arch/mips/cobalt/setup.c
+++ b/arch/mips/cobalt/setup.c
@@ -89,7 +89,7 @@ static struct pci_controller cobalt_pci_controller = {
.io_offset = 0x00001000UL - GT64111_IO_BASE
};
-static void __init cobalt_setup(void)
+void __init plat_setup(void)
{
unsigned int devfn = PCI_DEVFN(COBALT_PCICONF_VIA, 0);
int i;
@@ -125,8 +125,6 @@ static void __init cobalt_setup(void)
#endif
}
-early_initcall(cobalt_setup);
-
/*
* Prom init. We read our one and only communication with the firmware.
* Grab the amount of installed memory