
From: Renato Frias renato.frias@freescale.com
Adds arguments to the mx51_fb_init call.
Signed-off-by: Renato Frias renato.frias@freescale.com --- Changes for v2: - Includes fix to vision2 (this commit) on the patch set
board/ttcontrol/vision2/vision2.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/board/ttcontrol/vision2/vision2.c b/board/ttcontrol/vision2/vision2.c index 071dad6..d818224 100644 --- a/board/ttcontrol/vision2/vision2.c +++ b/board/ttcontrol/vision2/vision2.c @@ -43,7 +43,7 @@ DECLARE_GLOBAL_DATA_PTR;
static u32 system_rev;
-extern int mx51_fb_init(struct fb_videomode *mode); +extern int mx51_fb_init(struct fb_videomode *mode, u32 ipu_di, u32 pix_fmt);
#ifdef CONFIG_HW_WATCHDOG #include <watchdog.h> @@ -675,7 +675,7 @@ void lcd_enable(void) mxc_gpio_set(2, 1); mxc_request_iomux(MX51_PIN_GPIO1_2, IOMUX_CONFIG_ALT0);
- ret = mx51_fb_init(&nec_nl6448bc26_09c); + ret = mx51_fb_init(&nec_nl6448bc26_09c, 0, 18); if (ret) puts("LCD cannot be configured\n"); }