On Wed, Feb 8, 2012 at 11:40 PM, Zhicheng Fan wrote:
> +static int __init p1020_rdb_pc_probe(void)
> +{
> + unsigned long root = of_get_flat_dt_root();
> +
> + if (of_flat_dt_is_compatible(root, "fsl,P1020RDB-PC"))
> + return 1;
> + return 0;
> +}
static int __ini
From: Zhicheng Fan
Signed-off-by: Zhicheng Fan
---
arch/powerpc/platforms/85xx/mpc85xx_rdb.c | 26 +-
1 files changed, 25 insertions(+), 1 deletions(-)
diff --git a/arch/powerpc/platforms/85xx/mpc85xx_rdb.c
b/arch/powerpc/platforms/85xx/mpc85xx_rdb.c
index dce8aaf..a