]> git.sur5r.net Git - u-boot/commitdiff
tqm5200.c: fix warning: 'edid_buf' defined but not used
authorWolfgang Denk <wd@denx.de>
Thu, 23 Dec 2010 18:57:31 +0000 (19:57 +0100)
committerWolfgang Denk <wd@denx.de>
Sun, 9 Jan 2011 16:55:24 +0000 (17:55 +0100)
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>
board/tqc/tqm5200/tqm5200.c

index 7cbcd433ea800b318f442bdedf9eb7b17bf2c6cf..352226f2050600e3ad363da37bea1dc1a433f887 100644 (file)
@@ -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: