tqm5200.c: fix warning: 'edid_buf' defined but not used
PATCH 1/1 tqm5200.c: fix warning: 'edid_buf' defined but not used
Commit 98e6956 "mpc52xx: add support for tqm52xx based board charon" casued build warnings on some systems. Fix these.
Signed-off-by Wolfgang Denk <[email protected]>
Cc Heiko Schocher <[email protected]>
--- board/tqc/tqm5200/tqm5200.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
board/tqc/tqm5200/tqm5200.c +2 -1
@@ -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:
Signature · 1 line
1.7.3.3
PATCH 1/1 tqm5200.c: fix warning: 'edid_buf' defined but not used
Dear Wolfgang Denk,
Quoted 8 lines · In message <[email protected]> you wrote:
Commit 98e6956 "mpc52xx: add support for tqm52xx based board charon" casued build warnings on some systems. Fix these.
Signed-off-by Wolfgang Denk <[email protected]>Cc Heiko Schocher <[email protected]>--- board/tqc/tqm5200/tqm5200.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
Applied (after fixing the 'casued' typo).
Best regards,
Wolfgang Denk
Signature · 6 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de ...the increased productivity fostered by a friendly environment and quality tools is essential to meet ever increasing demands for software. - M. D. McIlroy, E. N. Pinson and B. A. Tague