| To: | ralf@linux-mips.org |
|---|---|
| To: | ralf@linux-mips.org |
| Subject: | [PATCH v2 03/11] MIPS: BCM63XX: call board_register_device from device_initcall() |
| From: | Maxime Bizon <mbizon@freebox.fr> |
| Date: | Fri, 4 Nov 2011 19:09:27 +0100 |
| Cc: | Maxime Bizon <mbizon@freebox.fr>, linux-mips@linux-mips.org |
| In-reply-to: | <1320430175-13725-1-git-send-email-mbizon@freebox.fr> |
| References: | <1320430175-13725-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
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH v2 02/11] MIPS: BCM63XX: hook up plat_ioremap to intercept soc registers remapping., Maxime Bizon |
|---|---|
| Next by Date: | [PATCH v2 11/11] MIPS: BCM63XX: add support for bcm6368 CPU., Maxime Bizon |
| Previous by Thread: | Re: [PATCH v2 02/11] MIPS: BCM63XX: hook up plat_ioremap to intercept soc registers remapping., Ralf Baechle |
| Next by Thread: | Re: [PATCH v2 03/11] MIPS: BCM63XX: call board_register_device from device_initcall(), Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |