Received: from milmhbs1.lsil.com (147.145.21.209) by coscas01.lsi.com
 (172.21.36.60) with Microsoft SMTP Server id 8.1.393.1; Sat, 30 Jan 2010
 10:38:02 -0700
Received: from mail2.lsil.com (mail2.lsil.com [147.145.40.22])	by
 milmhbs1.lsil.com (8.12.11/8.12.11) with ESMTP id o0UHc28d020634	for
 <andy.sharp@lsi.com>; Sat, 30 Jan 2010 09:38:02 -0800
Received: from psmtp.com (na3sys009amx253.postini.com [74.125.149.137])	by
 mail2.lsil.com (8.12.11/8.12.11) with SMTP id o0UHXIvR023705	for
 <andy.sharp@lsi.com>; Sat, 30 Jan 2010 09:33:18 -0800 (PST)
Received: from source ([78.24.191.182]) by na3sys009amx253.postini.com
 ([74.125.148.14]) with SMTP;	Sat, 30 Jan 2010 09:38:01 PST
Received: from localhost.localdomain ([127.0.0.1]:53068 "EHLO
        eddie.linux-mips.org" rhost-flags-OK-OK-OK-FAIL)        by
 eddie.linux-mips.org with ESMTP id S1492994Ab0A3Rh7 (ORCPT
        <rfc822;andy.sharp@lsi.com>); Sat, 30 Jan 2010 18:37:59 +0100
Received: with ECARTIS (v1.0.0; list linux-mips); Sat, 30 Jan 2010 18:37:40
 +0100 (CET)
Received: from sakura.staff.proxad.net ([213.228.1.107]:53016 "EHLO
        sakura.staff.proxad.net" rhost-flags-OK-OK-OK-OK)        by
 eddie.linux-mips.org with ESMTP id S1493005Ab0A3RfO (ORCPT
        <rfc822;linux-mips@linux-mips.org>); Sat, 30 Jan 2010 18:35:14 +0100
Received: by sakura.staff.proxad.net (Postfix, from userid 1000)        id
 7ED59551082; Sat, 30 Jan 2010 18:35:14 +0100 (CET)
From: Maxime Bizon <mbizon@freebox.fr>
To: "linux-mips@linux-mips.org" <linux-mips@linux-mips.org>,
	"ralf@linux-mips.org" <ralf@linux-mips.org>
CC: Maxime Bizon <mbizon@freebox.fr>
Sender: "linux-mips-bounce@linux-mips.org" <linux-mips-bounce@linux-mips.org>
Date: Sat, 30 Jan 2010 10:34:57 -0700
Subject: [PATCH 6/7] MIPS: bcm63xx: call board_register_device from
 device_initcall()
Thread-Topic: [PATCH 6/7] MIPS: bcm63xx: call board_register_device from
 device_initcall()
Thread-Index: Acqh0vktHw9sGJEESx+T8qnANnQuvg==
Message-ID: <1264872898-28149-7-git-send-email-mbizon@freebox.fr>
References: <1264872898-28149-1-git-send-email-mbizon@freebox.fr>
In-Reply-To: <1264872898-28149-1-git-send-email-mbizon@freebox.fr>
Accept-Language: en-US
Content-Language: en-US
X-MS-Exchange-Organization-AuthAs: Anonymous
X-MS-Exchange-Organization-AuthSource: coscas01.lsi.com
X-MS-Has-Attach:
X-Auto-Response-Suppress: All
X-MS-TNEF-Correlator:
x-scanned-by: MIMEDefang 2.39
errors-to: linux-mips-bounce@linux-mips.org
x-pstn-levels: (S:99.90000/99.90000 CV:99.9000 FC:95.5390 LC:95.5390
 R:95.9108 P:95.9108 M:97.0282 C:98.6951 )
x-pstn-settings: 3 (1.0000:1.0000) s cv gt3 gt2 gt1 r p m c 
x-pstn-addresses: from <mbizon@freebox.fr> [22/1] 
x-pstn-neptune: 0/0/0.00/0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0

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();
 }
=20
-arch_initcall(bcm63xx_register_devices);
+device_initcall(bcm63xx_register_devices);
--=20
1.6.3.3


