| To: | ralf@linux-mips.org |
|---|---|
| Subject: | [PATCH 03/11] MIPS: BCM63XX: call board_register_device from device_initcall() |
| From: | Maxime Bizon <mbizon@freebox.fr> |
| Date: | Fri, 10 Jun 2011 23:47:13 +0200 |
| Cc: | linux-mips@linux-mips.org, florian@openwrt.org, Maxime Bizon <mbizon@freebox.fr> |
| In-reply-to: | <1307742441-28284-1-git-send-email-mbizon@freebox.fr> |
| References: | <1307742441-28284-1-git-send-email-mbizon@freebox.fr> |
| Sender: | linux-mips-bounce@linux-mips.org |
Some device registration (eg leds), expect subsystem initcall to be
run first, so move board device registration to device_initcall().
Signed-off-by: Maxime Bizon <mbizon@freebox.fr>
---
arch/mips/bcm63xx/setup.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/mips/bcm63xx/setup.c b/arch/mips/bcm63xx/setup.c
index d005659..04a3499 100644
--- a/arch/mips/bcm63xx/setup.c
+++ b/arch/mips/bcm63xx/setup.c
@@ -124,4 +124,4 @@ int __init bcm63xx_register_devices(void)
return board_register_devices();
}
-arch_initcall(bcm63xx_register_devices);
+device_initcall(bcm63xx_register_devices);
--
1.7.1.1
|
| Previous by Date: | [PATCH 01/11] MIPS: BCM63XX: set default pci cache line size., Maxime Bizon |
|---|---|
| Next by Date: | [PATCH 04/11] MIPS: BCM63XX: introduce bcm_readll & bcm_writell., Maxime Bizon |
| Previous by Thread: | [PATCH 01/11] MIPS: BCM63XX: set default pci cache line size., Maxime Bizon |
| Next by Thread: | [PATCH 04/11] MIPS: BCM63XX: introduce bcm_readll & bcm_writell., Maxime Bizon |
| Indexes: | [Date] [Thread] [Top] [All Lists] |