]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
PXA: pxafb: Fix indent problems
authorMarek Vasut <marek.vasut@gmail.com>
Thu, 23 Sep 2010 06:32:54 +0000 (08:32 +0200)
committerWolfgang Denk <wd@denx.de>
Tue, 19 Oct 2010 20:46:18 +0000 (22:46 +0200)
Also change the initializer style

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
arch/arm/cpu/pxa/pxafb.c

index 0ee6a75319cdc83793146f7921c32ad48baa7b0a..50e9cc0b225e256429f05edcf68d9695aa3e512c 100644 (file)
 
 /* 640x480x16 @ 61 Hz */
 vidinfo_t panel_info = {
-       vl_col:         640,
-       vl_row:         480,
-       vl_width:       640,
-       vl_height:      480,
-       vl_clkp:        CONFIG_SYS_HIGH,
-       vl_oep:         CONFIG_SYS_HIGH,
-       vl_hsp:         CONFIG_SYS_HIGH,
-       vl_vsp:         CONFIG_SYS_HIGH,
-       vl_dp:          CONFIG_SYS_HIGH,
-       vl_bpix:        LCD_BPP,
-       vl_lbw:         0,
-       vl_splt:        0,
-       vl_clor:        0,
-       vl_tft:         1,
-       vl_hpw:         40,
-       vl_blw:         56,
-       vl_elw:         56,
-       vl_vpw:         20,
-       vl_bfw:         8,
-       vl_efw:         8,
+       .vl_col         = 640,
+       .vl_row         = 480,
+       .vl_width       = 640,
+       .vl_height      = 480,
+       .vl_clkp        = CONFIG_SYS_HIGH,
+       .vl_oep         = CONFIG_SYS_HIGH,
+       .vl_hsp         = CONFIG_SYS_HIGH,
+       .vl_vsp         = CONFIG_SYS_HIGH,
+       .vl_dp          = CONFIG_SYS_HIGH,
+       .vl_bpix        = LCD_BPP,
+       .vl_lbw         = 0,
+       .vl_splt        = 0,
+       .vl_clor        = 0,
+       .vl_tft         = 1,
+       .vl_hpw         = 40,
+       .vl_blw         = 56,
+       .vl_elw         = 56,
+       .vl_vpw         = 20,
+       .vl_bfw         = 8,
+       .vl_efw         = 8,
 };
 #endif /* CONFIG_PXA_VIDEO */
 
@@ -90,26 +90,26 @@ vidinfo_t panel_info = {
 # define REG_LCCR3     0x0340FF08
 
 vidinfo_t panel_info = {
-       vl_col:         640,
-       vl_row:         480,
-       vl_width:       157,
-       vl_height:      118,
-       vl_clkp:        CONFIG_SYS_HIGH,
-       vl_oep:         CONFIG_SYS_HIGH,
-       vl_hsp:         CONFIG_SYS_HIGH,
-       vl_vsp:         CONFIG_SYS_HIGH,
-       vl_dp:          CONFIG_SYS_HIGH,
-       vl_bpix:        LCD_BPP,
-       vl_lbw:         0,
-       vl_splt:        1,
-       vl_clor:        1,
-       vl_tft:         0,
-       vl_hpw:         1,
-       vl_blw:         3,
-       vl_elw:         3,
-       vl_vpw:         1,
-       vl_bfw:         0,
-       vl_efw:         0,
+       .vl_col         = 640,
+       .vl_row         = 480,
+       .vl_width       = 157,
+       .vl_height      = 118,
+       .vl_clkp        = CONFIG_SYS_HIGH,
+       .vl_oep         = CONFIG_SYS_HIGH,
+       .vl_hsp         = CONFIG_SYS_HIGH,
+       .vl_vsp         = CONFIG_SYS_HIGH,
+       .vl_dp          = CONFIG_SYS_HIGH,
+       .vl_bpix        = LCD_BPP,
+       .vl_lbw         = 0,
+       .vl_splt        = 1,
+       .vl_clor        = 1,
+       .vl_tft         = 0,
+       .vl_hpw         = 1,
+       .vl_blw         = 3,
+       .vl_elw         = 3,
+       .vl_vpw         = 1,
+       .vl_bfw         = 0,
+       .vl_efw         = 0,
 };
 #endif /* CONFIG_SHARP_LM8V31 */
 /*----------------------------------------------------------------------*/
@@ -123,26 +123,26 @@ vidinfo_t panel_info = {
 # define REG_LCCR3     0x0340FF08
 
 vidinfo_t panel_info = {
-       vl_col:         640,
-       vl_row:         480,
-       vl_width:       157,
-       vl_height:      118,
-       vl_clkp:        CONFIG_SYS_HIGH,
-       vl_oep:         CONFIG_SYS_HIGH,
-       vl_hsp:         CONFIG_SYS_HIGH,
-       vl_vsp:         CONFIG_SYS_HIGH,
-       vl_dp:          CONFIG_SYS_HIGH,
-       vl_bpix:        LCD_BPP,
-       vl_lbw:         0,
-       vl_splt:        1,
-       vl_clor:        1,
-       vl_tft:         1,
-       vl_hpw:         32,
-       vl_blw:         144,
-       vl_elw:         32,
-       vl_vpw:         2,
-       vl_bfw:         13,
-       vl_efw:         30,
+       .vl_col         = 640,
+       .vl_row         = 480,
+       .vl_width       = 157,
+       .vl_height      = 118,
+       .vl_clkp        = CONFIG_SYS_HIGH,
+       .vl_oep         = CONFIG_SYS_HIGH,
+       .vl_hsp         = CONFIG_SYS_HIGH,
+       .vl_vsp         = CONFIG_SYS_HIGH,
+       .vl_dp          = CONFIG_SYS_HIGH,
+       .vl_bpix        = LCD_BPP,
+       .vl_lbw         = 0,
+       .vl_splt        = 1,
+       .vl_clor        = 1,
+       .vl_tft         = 1,
+       .vl_hpw         = 32,
+       .vl_blw         = 144,
+       .vl_elw         = 32,
+       .vl_vpw         = 2,
+       .vl_bfw         = 13,
+       .vl_efw         = 30,
 };
 #endif /* CONFIG_VOIPAC_LCD */
 
@@ -156,26 +156,26 @@ vidinfo_t panel_info = {
 #define REG_LCCR3      0x0340FF20
 
 vidinfo_t panel_info = {
-       vl_col:         320,
-       vl_row:         240,
-       vl_width:       167,
-       vl_height:      109,
-       vl_clkp:        CONFIG_SYS_HIGH,
-       vl_oep:         CONFIG_SYS_HIGH,
-       vl_hsp:         CONFIG_SYS_HIGH,
-       vl_vsp:         CONFIG_SYS_HIGH,
-       vl_dp:          CONFIG_SYS_HIGH,
-       vl_bpix:        LCD_BPP,
-       vl_lbw:         1,
-       vl_splt:        0,
-       vl_clor:        1,
-       vl_tft:         0,
-       vl_hpw:         1,
-       vl_blw:         1,
-       vl_elw:         1,
-       vl_vpw:         7,
-       vl_bfw:         0,
-       vl_efw:         0,
+       .vl_col         = 320,
+       .vl_row         = 240,
+       .vl_width       = 167,
+       .vl_height      = 109,
+       .vl_clkp        = CONFIG_SYS_HIGH,
+       .vl_oep         = CONFIG_SYS_HIGH,
+       .vl_hsp         = CONFIG_SYS_HIGH,
+       .vl_vsp         = CONFIG_SYS_HIGH,
+       .vl_dp          = CONFIG_SYS_HIGH,
+       .vl_bpix        = LCD_BPP,
+       .vl_lbw         = 1,
+       .vl_splt        = 0,
+       .vl_clor        = 1,
+       .vl_tft         = 0,
+       .vl_hpw         = 1,
+       .vl_blw         = 1,
+       .vl_elw         = 1,
+       .vl_vpw         = 7,
+       .vl_bfw         = 0,
+       .vl_efw         = 0,
 };
 #endif /* CONFIG_HITACHI_SX14 */
 
@@ -190,26 +190,26 @@ vidinfo_t panel_info = {
 # define REG_LCCR3     0x03b00009
 
 vidinfo_t panel_info = {
-       vl_col:         240,
-       vl_row:         320,
-       vl_width:       240,
-       vl_height:      320,
-       vl_clkp:        CONFIG_SYS_HIGH,
-       vl_oep:         CONFIG_SYS_LOW,
-       vl_hsp:         CONFIG_SYS_LOW,
-       vl_vsp:         CONFIG_SYS_LOW,
-       vl_dp:          CONFIG_SYS_HIGH,
-       vl_bpix:        LCD_BPP,
-       vl_lbw:         0,
-       vl_splt:        1,
-       vl_clor:        1,
-       vl_tft:         1,
-       vl_hpw:         4,
-       vl_blw:         4,
-       vl_elw:         8,
-       vl_vpw:         4,
-       vl_bfw:         4,
-       vl_efw:         8,
+       .vl_col         = 240,
+       .vl_row         = 320,
+       .vl_width       = 240,
+       .vl_height      = 320,
+       .vl_clkp        = CONFIG_SYS_HIGH,
+       .vl_oep         = CONFIG_SYS_LOW,
+       .vl_hsp         = CONFIG_SYS_LOW,
+       .vl_vsp         = CONFIG_SYS_LOW,
+       .vl_dp          = CONFIG_SYS_HIGH,
+       .vl_bpix        = LCD_BPP,
+       .vl_lbw         = 0,
+       .vl_splt        = 1,
+       .vl_clor        = 1,
+       .vl_tft         = 1,
+       .vl_hpw         = 4,
+       .vl_blw         = 4,
+       .vl_elw         = 8,
+       .vl_vpw         = 4,
+       .vl_bfw         = 4,
+       .vl_efw         = 8,
 };
 #endif /* CONFIG_LMS283GF05 */