From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.semihalf.com (mail.semihalf.com [83.15.139.206]) by ozlabs.org (Postfix) with ESMTP id 1544CDDF13 for ; Sun, 4 Nov 2007 10:52:31 +1100 (EST) Received: from localhost (unknown [127.0.0.1]) by mail.semihalf.com (Postfix) with ESMTP id 33B211437F for ; Sun, 4 Nov 2007 00:53:06 +0100 (CET) Received: from mail.semihalf.com ([127.0.0.1]) by localhost (mail.semihalf.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 30930-01 for ; Sun, 4 Nov 2007 00:53:04 +0100 (CET) Received: from hekate.izotz.org (frozen.izotz.org [83.175.187.135]) by mail.semihalf.com (Postfix) with ESMTP id 4E2391432E for ; Sun, 4 Nov 2007 00:53:04 +0100 (CET) From: Marian Balakowicz Subject: [PATCH v2 02/12] [POWERPC] Add 'fsl, lpb' bus type for MPC5200 LocalPlus Bus To: linuxppc-dev@ozlabs.org Date: Sun, 04 Nov 2007 00:52:22 +0100 Message-ID: <20071103235222.31906.44523.stgit@hekate.izotz.org> In-Reply-To: <20071103235210.31906.83423.stgit@hekate.izotz.org> References: <20071103235210.31906.83423.stgit@hekate.izotz.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Define MPC52xx specific device id list, add new 'fsl,lpb' compatible id for LocalPlus Bus. Signed-off-by: Marian Balakowicz --- arch/powerpc/platforms/52xx/mpc52xx_common.c | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/platforms/52xx/mpc52xx_common.c b/arch/powerpc/platforms/52xx/mpc52xx_common.c index 9850685..2df97c5 100644 --- a/arch/powerpc/platforms/52xx/mpc52xx_common.c +++ b/arch/powerpc/platforms/52xx/mpc52xx_common.c @@ -124,11 +124,18 @@ mpc5200_setup_xlb_arbiter(void) iounmap(xlb); } +static struct of_device_id mpc52xx_ids[] = { + { .type = "soc", }, + { .compatible = "soc", }, + { .compatible = "fsl,lpb", }, + {}, +}; + void __init mpc52xx_declare_of_platform_devices(void) { /* Find every child of the SOC node and add it to of_platform */ - if (of_platform_bus_probe(NULL, NULL, NULL)) + if (of_platform_bus_probe(NULL, mpc52xx_ids, NULL)) printk(KERN_ERR __FILE__ ": " "Error while probing of_platform bus\n"); }