MX51: vision: Let video mode struct be independant of watchdog.
PATCH 1/1 MX51: vision: Let video mode struct be independant of watchdog.
Currently the fb_videomode struct is only declared if CONFIG_HW_WATCHDOG is defined.
Remove this dependancy and let the video struct always be declared.
Signed-off-by Fabio Estevam <[email protected]>
--- board/ttcontrol/vision2/vision2.c | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-)
board/ttcontrol/vision2/vision2.c +2 -3
@@ -45,9 +45,6 @@ static u32 system_rev;extern int mx51_fb_init (struct fb_videomode *mode); -#ifdef CONFIG_HW_WATCHDOG -#include <watchdog.h> -static struct fb_videomode nec_nl6448bc26_09c = {"NEC_NL6448BC26-09C" ,60 ,/* Refresh */
@@ -65,6 +62,8 @@ static struct fb_videomode nec_nl6448bc26_09c = { 0, /* flag */ }; +#ifdef CONFIG_HW_WATCHDOG +#include <watchdog.h> void hw_watchdog_reset (void ) {int val;
Signature · 1 line
1.6.0.4
PATCH 1/1 MX51: vision: Let video mode struct be independant of watchdog.
Quoted 6 lines · Fabio Estevam
Currently the
fb_videomodestruct is only declared ifCONFIG_HW_WATCHDOGis defined.Remove this dependancy and let the video struct always be declared.
Signed-off-by Fabio Estevam <[email protected]>---
Applied to u-boot-imx, thanks.
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de =====================================================================