summaryrefslogtreecommitdiff
path: root/board/freescale/common/fman.h
diff options
context:
space:
mode:
authorTimur Tabi <timur@freescale.com>2012-05-04 12:21:28 +0000
committerAndy Fleming <afleming@freescale.com>2012-07-06 17:30:32 -0500
commit1fc0d59486571bad2a2c4e4a3e5c8b764c46b583 (patch)
tree7cec44e27d5669b2c83d438db83099c1899c3b5e /board/freescale/common/fman.h
parentfb365a8a9664bbaef75df93fd115d6d06f389b89 (diff)
downloadu-boot-imx-1fc0d59486571bad2a2c4e4a3e5c8b764c46b583.zip
u-boot-imx-1fc0d59486571bad2a2c4e4a3e5c8b764c46b583.tar.gz
u-boot-imx-1fc0d59486571bad2a2c4e4a3e5c8b764c46b583.tar.bz2
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 <timur@freescale.com>
Diffstat (limited to 'board/freescale/common/fman.h')
-rw-r--r--board/freescale/common/fman.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/freescale/common/fman.h b/board/freescale/common/fman.h
index 19ef7c4..d39ef08 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