[PATCH 1/2 v4] powerpc/85xx: Add p1020rdb-pc platform support
Tabi Timur-B04825
B04825 at freescale.com
Fri Feb 10 03:09:52 EST 2012
On Wed, Feb 8, 2012 at 11:40 PM, Zhicheng Fan <B32736 at freescale.com> 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 __init p1020_rdb_pc_probe(void)
{
unsigned long root = of_get_flat_dt_root();
return of_flat_dt_is_compatible(root, "fsl,P1020RDB-PC");
}
--
Timur Tabi
Linux kernel developer at Freescale
More information about the Linuxppc-dev
mailing list