Patchwork [U-Boot,04/10] powerpc/p1010rdb: Change flexcan compatible string

login
register
mail settings
Submitter York Sun
Date March 22, 2013, 4:38 p.m.
Message ID <1363970293-21228-5-git-send-email-yorksun@freescale.com>
Download mbox | patch
Permalink /patch/230127/
State Superseded
Headers show

Comments

York Sun - March 22, 2013, 4:38 p.m.
From: Shengzhou Liu <Shengzhou.Liu@freescale.com>

Change flexcan compatible string from "fsl,flexcan-v1.0"
to "fsl,p1010-flexcan" to match the device tree.

Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com>
---
 board/freescale/p1010rdb/p1010rdb.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/board/freescale/p1010rdb/p1010rdb.c b/board/freescale/p1010rdb/p1010rdb.c
index 11e2e8a..0c30d76 100644
--- a/board/freescale/p1010rdb/p1010rdb.c
+++ b/board/freescale/p1010rdb/p1010rdb.c
@@ -217,7 +217,7 @@  void fdt_del_flexcan(void *blob)
 	int nodeoff = 0;
 
 	while ((nodeoff = fdt_node_offset_by_compatible(blob, 0,
-				"fsl,flexcan-v1.0")) >= 0) {
+				"fsl,p1010-flexcan")) >= 0) {
 		fdt_del_node(blob, nodeoff);
 	}
 }