From: Olof Johansson <olof@lixom•net>
To: Scott Wood <scottwood@freescale•com>
Cc: linuxppc-dev@ozlabs•org
Subject: Re: [PATCH 2/4] mpc8313erdb: Add NAND to device tree, and call of_platform_bus_probe().
Date: Thu, 13 Dec 2007 15:40:47 -0600 [thread overview]
Message-ID: <20071213214047.GA14534@lixom.net> (raw)
In-Reply-To: <20071213171714.GA4510@loki.buserror.net>
On Thu, Dec 13, 2007 at 11:17:14AM -0600, Scott Wood wrote:
> Signed-off-by: Scott Wood <scottwood@freescale•com>
> diff --git a/arch/powerpc/platforms/83xx/mpc8313_rdb.c b/arch/powerpc/platforms/83xx/mpc8313_rdb.c
> index 6fb8299..3ad482a 100644
> --- a/arch/powerpc/platforms/83xx/mpc8313_rdb.c
> +++ b/arch/powerpc/platforms/83xx/mpc8313_rdb.c
> @@ -14,6 +14,7 @@
> */
>
> #include <linux/pci.h>
> +#include <linux/of_platform.h>
>
> #include <asm/time.h>
> #include <asm/ipic.h>
> @@ -75,6 +76,22 @@ static int __init mpc8313_rdb_probe(void)
> return of_flat_dt_is_compatible(root, "MPC8313ERDB");
> }
>
> +static struct of_device_id __initdata of_bus_ids[] = {
> + { .name = "soc8313", },
> + { .name = "localbus", },
Please probe based on compatible instead of name properties.
Thanks,
Olof
next prev parent reply other threads:[~2007-12-13 21:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-13 17:16 [PATCH 1/4] mpc8313erdb: Fix whitespace Scott Wood
2007-12-13 17:17 ` [PATCH 2/4] mpc8313erdb: Add NAND to device tree, and call of_platform_bus_probe() Scott Wood
2007-12-13 21:40 ` Olof Johansson [this message]
2007-12-15 1:52 ` David Gibson
2007-12-13 17:17 ` [PATCH 3/4] mpc8313erdb: Add NOR flash to the device tree Scott Wood
2007-12-13 17:17 ` [PATCH 4/4] mpc8313erdb: Update defconfig with NOR flash, NAND flash, and JFFS enabled Scott Wood
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20071213214047.GA14534@lixom.net \
--to=olof@lixom$(echo .)net \
--cc=linuxppc-dev@ozlabs$(echo .)org \
--cc=scottwood@freescale$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox