Thread (4 messages) flat view 4 messages, 2 authors, 2012-02-09

Re: [PATCH 1/2 v4] powerpc/85xx: Add p1020rdb-pc platform support

From: Tabi Timur-B04825 <hidden>
Date: 2012-02-09 16:10:03

On Wed, Feb 8, 2012 at 11:40 PM, Zhicheng Fan [off-list ref] wrote:
+static int __init p1020_rdb_pc_probe(void)
+{
+ =A0 =A0 =A0 unsigned long root =3D of_get_flat_dt_root();
+
+ =A0 =A0 =A0 if (of_flat_dt_is_compatible(root, "fsl,P1020RDB-PC"))
+ =A0 =A0 =A0 =A0 =A0 =A0 =A0 return 1;
+ =A0 =A0 =A0 return 0;
+}
static int __init p1020_rdb_pc_probe(void)
{
       unsigned long root =3D of_get_flat_dt_root();

       return of_flat_dt_is_compatible(root, "fsl,P1020RDB-PC");
}

--=20
Timur Tabi
Linux kernel developer at Freescale=
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help