cosmetic: atmel: replace old style struct init

This prevents some warnings when building with clang.
cc:: andreas.devel@googlemail.com
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
This commit is contained in:
Jeroen Hofstee 2014-06-10 00:16:23 +02:00 committed by Tom Rini
parent 46a5707d9c
commit c346e466e0
5 changed files with 70 additions and 70 deletions

View file

@ -133,20 +133,20 @@ static void at91sam9261ek_dm9000_hw_init(void)
#ifdef CONFIG_LCD #ifdef CONFIG_LCD
vidinfo_t panel_info = { vidinfo_t panel_info = {
vl_col: 240, .vl_col = 240,
vl_row: 320, .vl_row = 320,
vl_clk: 4965000, .vl_clk = 4965000,
vl_sync: ATMEL_LCDC_INVLINE_INVERTED | .vl_sync = ATMEL_LCDC_INVLINE_INVERTED |
ATMEL_LCDC_INVFRAME_INVERTED, ATMEL_LCDC_INVFRAME_INVERTED,
vl_bpix: 3, .vl_bpix = 3,
vl_tft: 1, .vl_tft = 1,
vl_hsync_len: 5, .vl_hsync_len = 5,
vl_left_margin: 1, .vl_left_margin = 1,
vl_right_margin:33, .vl_right_margin = 33,
vl_vsync_len: 1, .vl_vsync_len = 1,
vl_upper_margin:1, .vl_upper_margin = 1,
vl_lower_margin:0, .vl_lower_margin = 0,
mmio: ATMEL_BASE_LCDC, .mmio = ATMEL_BASE_LCDC,
}; };
void lcd_enable(void) void lcd_enable(void)

View file

@ -111,20 +111,20 @@ static void at91sam9263ek_macb_hw_init(void)
#ifdef CONFIG_LCD #ifdef CONFIG_LCD
vidinfo_t panel_info = { vidinfo_t panel_info = {
vl_col: 240, .vl_col = 240,
vl_row: 320, .vl_row = 320,
vl_clk: 4965000, .vl_clk = 4965000,
vl_sync: ATMEL_LCDC_INVLINE_INVERTED | .vl_sync = ATMEL_LCDC_INVLINE_INVERTED |
ATMEL_LCDC_INVFRAME_INVERTED, ATMEL_LCDC_INVFRAME_INVERTED,
vl_bpix: 3, .vl_bpix = 3,
vl_tft: 1, .vl_tft = 1,
vl_hsync_len: 5, .vl_hsync_len = 5,
vl_left_margin: 1, .vl_left_margin = 1,
vl_right_margin:33, .vl_right_margin = 33,
vl_vsync_len: 1, .vl_vsync_len = 1,
vl_upper_margin:1, .vl_upper_margin = 1,
vl_lower_margin:0, .vl_lower_margin = 0,
mmio: ATMEL_BASE_LCDC, .mmio = ATMEL_BASE_LCDC,
}; };
void lcd_enable(void) void lcd_enable(void)

View file

@ -121,20 +121,20 @@ static void at91sam9m10g45ek_macb_hw_init(void)
#ifdef CONFIG_LCD #ifdef CONFIG_LCD
vidinfo_t panel_info = { vidinfo_t panel_info = {
vl_col: 480, .vl_col = 480,
vl_row: 272, .vl_row = 272,
vl_clk: 9000000, .vl_clk = 9000000,
vl_sync: ATMEL_LCDC_INVLINE_NORMAL | .vl_sync = ATMEL_LCDC_INVLINE_NORMAL |
ATMEL_LCDC_INVFRAME_NORMAL, ATMEL_LCDC_INVFRAME_NORMAL,
vl_bpix: 3, .vl_bpix = 3,
vl_tft: 1, .vl_tft = 1,
vl_hsync_len: 45, .vl_hsync_len = 45,
vl_left_margin: 1, .vl_left_margin = 1,
vl_right_margin:1, .vl_right_margin = 1,
vl_vsync_len: 1, .vl_vsync_len = 1,
vl_upper_margin:40, .vl_upper_margin = 40,
vl_lower_margin:1, .vl_lower_margin = 1,
mmio : ATMEL_BASE_LCDC, .mmio = ATMEL_BASE_LCDC,
}; };

View file

@ -78,20 +78,20 @@ static void at91sam9rlek_nand_hw_init(void)
#ifdef CONFIG_LCD #ifdef CONFIG_LCD
vidinfo_t panel_info = { vidinfo_t panel_info = {
vl_col: 240, .vl_col = 240,
vl_row: 320, .vl_row = 320,
vl_clk: 4965000, .vl_clk = 4965000,
vl_sync: ATMEL_LCDC_INVLINE_INVERTED | .vl_sync = ATMEL_LCDC_INVLINE_INVERTED |
ATMEL_LCDC_INVFRAME_INVERTED, ATMEL_LCDC_INVFRAME_INVERTED,
vl_bpix: 3, .vl_bpix = 3,
vl_tft: 1, .vl_tft = 1,
vl_hsync_len: 5, .vl_hsync_len = 5,
vl_left_margin: 1, .vl_left_margin = 1,
vl_right_margin:33, .vl_right_margin = 33,
vl_vsync_len: 1, .vl_vsync_len = 1,
vl_upper_margin:1, .vl_upper_margin = 1,
vl_lower_margin:0, .vl_lower_margin = 0,
mmio: ATMEL_BASE_LCDC, .mmio = ATMEL_BASE_LCDC,
}; };
void lcd_enable(void) void lcd_enable(void)

View file

@ -117,20 +117,20 @@ static void pm9261_dm9000_hw_init(void)
#ifdef CONFIG_LCD #ifdef CONFIG_LCD
vidinfo_t panel_info = { vidinfo_t panel_info = {
vl_col: 240, .vl_col = 240,
vl_row: 320, .vl_row = 320,
vl_clk: 4965000, .vl_clk = 4965000,
vl_sync: ATMEL_LCDC_INVLINE_INVERTED | .vl_sync = ATMEL_LCDC_INVLINE_INVERTED |
ATMEL_LCDC_INVFRAME_INVERTED, ATMEL_LCDC_INVFRAME_INVERTED,
vl_bpix: 3, .vl_bpix = 3,
vl_tft: 1, .vl_tft = 1,
vl_hsync_len: 5, .vl_hsync_len = 5,
vl_left_margin: 1, .vl_left_margin = 1,
vl_right_margin:33, .vl_right_margin = 33,
vl_vsync_len: 1, .vl_vsync_len = 1,
vl_upper_margin:1, .vl_upper_margin = 1,
vl_lower_margin:0, .vl_lower_margin = 0,
mmio: ATMEL_BASE_LCDC, .mmio = ATMEL_BASE_LCDC,
}; };
void lcd_enable(void) void lcd_enable(void)