]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - board/karo/tx51/tx51.c
Add missing .cmap member to panel_info
[karo-tx-uboot.git] / board / karo / tx51 / tx51.c
index b140e57cd0619cbf4a16583112bb6c49407ace4b..671f555f311c1da0b8e44d8eef708af185e95539 100644 (file)
@@ -523,12 +523,14 @@ static const struct gpio stk5_gpios[] = {
 };
 
 #ifdef CONFIG_LCD
+static ushort tx51_cmap[256];
 vidinfo_t panel_info = {
        /* set to max. size supported by SoC */
        .vl_col = 1600,
        .vl_row = 1200,
 
        .vl_bpix = LCD_COLOR24,    /* Bits per pixel, 0: 1bpp, 1: 2bpp, 2: 4bpp, 3: 8bpp ... */
+       .cmap = tx51_cmap,
 };
 
 static struct fb_videomode tx51_fb_mode = {