From: Matthew McClintock Date: Tue, 12 Oct 2010 17:25:59 -0500 Subject: [U-Boot] [PATCH] common/fdt_support.c: fix compile error Message-ID: <1286922359-24295-1-git-send-email-msm@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Fix build error introduced in beca5a5f5bf0d88125580e5e9c1730469cd50ab8 common/libcommon.a(fdt_support.o): In function `fdt_add_edid': /local/hudson/jobs/mirrors-u-boot.git/workspace/common/fdt_support.c:1205: undefined reference to `fdt_increase_size' make: *** [u-boot] Error 1 Signed-off-by: Matthew McClintock --- common/fdt_support.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/common/fdt_support.c b/common/fdt_support.c index 9b65a8a..cb0ad3b 100644 --- a/common/fdt_support.c +++ b/common/fdt_support.c @@ -1190,7 +1190,7 @@ int fdt_alloc_phandle(void *blob) return phandle + 1; } -#if defined(CONFIG_VIDEO) +#if defined(CONFIG_VIDEO) && defined(CONFIG_FDT_FIXUP_PARTITIONS) int fdt_add_edid(void *blob, const char *compat, unsigned char *edid_buf) { int noff; -- 1.6.6.1