From 1fc0d59486571bad2a2c4e4a3e5c8b764c46b583 Mon Sep 17 00:00:00 2001 From: Timur Tabi Date: Fri, 4 May 2012 12:21:28 +0000 Subject: powerpc/85xx: fdt_set_phy_handle() should return an error code fdt_set_phy_handle() makes several FDT calls that could fail, so it should not be hiding these errors. Signed-off-by: Timur Tabi --- board/freescale/common/fman.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'board/freescale/common/fman.h') diff --git a/board/freescale/common/fman.h b/board/freescale/common/fman.h index 19ef7c4fb..d39ef080c 100644 --- a/board/freescale/common/fman.h +++ b/board/freescale/common/fman.h @@ -20,7 +20,7 @@ #ifndef __FMAN_BOARD_HELPER__ #define __FMAN_BOARD_HELPER__ -void fdt_set_phy_handle(void *fdt, char *compat, phys_addr_t addr, +int fdt_set_phy_handle(void *fdt, char *compat, phys_addr_t addr, const char *alias); #endif -- cgit v1.2.3-70-g09d2