From 001bd08c07559603eade16459d72c17d5e4d5034 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Lothar=20Wa=C3=9Fmann?= Date: Thu, 4 Feb 2016 12:13:35 +0100 Subject: [PATCH 1/1] karo: remove redundant cmap entry in panel_info --- board/karo/tx28/tx28.c | 2 -- board/karo/tx48/tx48.c | 2 -- board/karo/tx51/tx51.c | 2 -- board/karo/tx53/tx53.c | 2 -- board/karo/tx6/tx6qdl.c | 2 -- board/karo/tx6/tx6ul.c | 2 -- 6 files changed, 12 deletions(-) diff --git a/board/karo/tx28/tx28.c b/board/karo/tx28/tx28.c index f9cb02df21..b8086a02e1 100644 --- a/board/karo/tx28/tx28.c +++ b/board/karo/tx28/tx28.c @@ -402,14 +402,12 @@ static const struct gpio stk5_gpios[] = { }; #ifdef CONFIG_LCD -static ushort tx28_cmap[256]; vidinfo_t panel_info = { /* set to max. size supported by SoC */ .vl_col = 1600, .vl_row = 1200, .vl_bpix = LCD_COLOR32, /* Bits per pixel, 0: 1bpp, 1: 2bpp, 2: 4bpp, 3: 8bpp ... */ - .cmap = tx28_cmap, }; static struct fb_videomode tx28_fb_modes[] = { diff --git a/board/karo/tx48/tx48.c b/board/karo/tx48/tx48.c index e89dda8cc2..7383738a24 100644 --- a/board/karo/tx48/tx48.c +++ b/board/karo/tx48/tx48.c @@ -162,14 +162,12 @@ static const struct gpio stk5v5_gpios[] = { }; #ifdef CONFIG_LCD -static u16 tx48_cmap[256]; vidinfo_t panel_info = { /* set to max. size supported by SoC */ .vl_col = 1366, .vl_row = 768, .vl_bpix = LCD_COLOR32, /* Bits per pixel, 0: 1bpp, 1: 2bpp, 2: 4bpp, 3: 8bpp ... */ - .cmap = tx48_cmap, }; static struct lcd_ctrl_config lcd_cfg = { diff --git a/board/karo/tx51/tx51.c b/board/karo/tx51/tx51.c index 586663cb0e..00f82621b3 100644 --- a/board/karo/tx51/tx51.c +++ b/board/karo/tx51/tx51.c @@ -548,14 +548,12 @@ static const struct gpio stk5_gpios[] = { }; #ifdef CONFIG_LCD -static u16 tx51_cmap[256]; vidinfo_t panel_info = { /* set to max. size supported by SoC */ .vl_col = 1600, .vl_row = 1200, .vl_bpix = LCD_COLOR32, /* Bits per pixel, 0: 1bpp, 1: 2bpp, 2: 4bpp, 3: 8bpp ... */ - .cmap = tx51_cmap, }; static struct fb_videomode tx51_fb_modes[] = { diff --git a/board/karo/tx53/tx53.c b/board/karo/tx53/tx53.c index 082d2bdd76..11b071eb33 100644 --- a/board/karo/tx53/tx53.c +++ b/board/karo/tx53/tx53.c @@ -762,14 +762,12 @@ static const struct gpio stk5_gpios[] = { }; #ifdef CONFIG_LCD -static u16 tx53_cmap[256]; vidinfo_t panel_info = { /* set to max. size supported by SoC */ .vl_col = 1600, .vl_row = 1200, .vl_bpix = LCD_COLOR32, /* Bits per pixel, 0: 1bpp, 1: 2bpp, 2: 4bpp, 3: 8bpp ... */ - .cmap = tx53_cmap, }; static struct fb_videomode tx53_fb_modes[] = { diff --git a/board/karo/tx6/tx6qdl.c b/board/karo/tx6/tx6qdl.c index c21f1c4ec5..73035d5abe 100644 --- a/board/karo/tx6/tx6qdl.c +++ b/board/karo/tx6/tx6qdl.c @@ -803,14 +803,12 @@ static const struct gpio stk5_gpios[] = { }; #ifdef CONFIG_LCD -static u16 tx6_cmap[256]; vidinfo_t panel_info = { /* set to max. size supported by SoC */ .vl_col = 1920, .vl_row = 1080, .vl_bpix = LCD_COLOR32, /* Bits per pixel, 0: 1bpp, 1: 2bpp, 2: 4bpp, 3: 8bpp ... */ - .cmap = tx6_cmap, }; static struct fb_videomode tx6_fb_modes[] = { diff --git a/board/karo/tx6/tx6ul.c b/board/karo/tx6/tx6ul.c index b8e29be672..42f8eafc3f 100644 --- a/board/karo/tx6/tx6ul.c +++ b/board/karo/tx6/tx6ul.c @@ -747,14 +747,12 @@ static const struct gpio stk5_gpios[] = { }; #ifdef CONFIG_LCD -static u16 tx6_cmap[256]; vidinfo_t panel_info = { /* set to max. size supported by SoC */ .vl_col = 4096, .vl_row = 1024, .vl_bpix = LCD_COLOR32, /* Bits per pixel, 0: 1bpp, 1: 2bpp, 2: 4bpp, 3: 8bpp ... */ - .cmap = tx6_cmap, }; static struct fb_videomode tx6_fb_modes[] = { -- 2.39.2