summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2010-12-23 19:57:31 +0100
committerWolfgang Denk <wd@denx.de>2011-01-09 17:55:24 +0100
commit42df1e1618f2bcae308ad193a136b72b82103bea (patch)
tree5a7a7e20b618ae02a9c41c040b5a03fa23dbd754
parente0306cab092c3f9f3526f4c72832561201d97e11 (diff)
tqm5200.c: fix warning: 'edid_buf' defined but not used
Commit 98e6956 "mpc52xx: add support for tqm52xx based board charon" caused build warnings on some systems. Fix these. Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Heiko Schocher <hs@denx.de>
-rw-r--r--board/tqc/tqm5200/tqm5200.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/tqc/tqm5200/tqm5200.c b/board/tqc/tqm5200/tqm5200.c
index 7cbcd433ea..352226f205 100644
--- a/board/tqc/tqm5200/tqm5200.c
+++ b/board/tqc/tqm5200/tqm5200.c
@@ -54,7 +54,8 @@ DECLARE_GLOBAL_DATA_PTR;
void ps2mult_early_init(void);
#endif
-#if defined(CONFIG_VIDEO)
+#if defined(CONFIG_OF_LIBFDT) && defined(CONFIG_OF_BOARD_SETUP) && \
+ defined(CONFIG_VIDEO)
/*
* EDID block has been generated using Phoenix EDID Designer 1.3.
* This tool creates a text file containing: