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 <fabio.estevam@freescale.com>
This commit is contained in:
		
							parent
							
								
									860b32ee50
								
							
						
					
					
						commit
						c08f68c299
					
				|  | @ -45,9 +45,6 @@ static u32 system_rev; | ||||||
| 
 | 
 | ||||||
| extern int mx51_fb_init(struct fb_videomode *mode); | extern int mx51_fb_init(struct fb_videomode *mode); | ||||||
| 
 | 
 | ||||||
| #ifdef CONFIG_HW_WATCHDOG |  | ||||||
| #include <watchdog.h> |  | ||||||
| 
 |  | ||||||
| static struct fb_videomode nec_nl6448bc26_09c = { | static struct fb_videomode nec_nl6448bc26_09c = { | ||||||
| 	"NEC_NL6448BC26-09C", | 	"NEC_NL6448BC26-09C", | ||||||
| 	60,	/* Refresh */ | 	60,	/* Refresh */ | ||||||
|  | @ -65,6 +62,8 @@ static struct fb_videomode nec_nl6448bc26_09c = { | ||||||
| 	0,	/* flag */ | 	0,	/* flag */ | ||||||
| }; | }; | ||||||
| 
 | 
 | ||||||
|  | #ifdef CONFIG_HW_WATCHDOG | ||||||
|  | #include <watchdog.h> | ||||||
| void hw_watchdog_reset(void) | void hw_watchdog_reset(void) | ||||||
| { | { | ||||||
| 	int val; | 	int val; | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue