diff options
author | Jeroen Hofstee <jeroen@myspectrum.nl> | 2014-06-10 00:16:23 +0200 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-06-11 16:27:05 -0400 |
commit | c346e466e0ea31016f8bd0a38b225f75b2a20a55 (patch) | |
tree | 2f608d67baad42d99fc4daa1a4c1703b2f069a82 /board/atmel/at91sam9rlek | |
parent | 46a5707d9c2eefa23e88f7c63999adb9190c5b46 (diff) | |
download | u-boot-imx-c346e466e0ea31016f8bd0a38b225f75b2a20a55.zip u-boot-imx-c346e466e0ea31016f8bd0a38b225f75b2a20a55.tar.gz u-boot-imx-c346e466e0ea31016f8bd0a38b225f75b2a20a55.tar.bz2 |
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>
Diffstat (limited to 'board/atmel/at91sam9rlek')
-rw-r--r-- | board/atmel/at91sam9rlek/at91sam9rlek.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/board/atmel/at91sam9rlek/at91sam9rlek.c b/board/atmel/at91sam9rlek/at91sam9rlek.c index c700a90..56ca1d4 100644 --- a/board/atmel/at91sam9rlek/at91sam9rlek.c +++ b/board/atmel/at91sam9rlek/at91sam9rlek.c @@ -78,20 +78,20 @@ static void at91sam9rlek_nand_hw_init(void) #ifdef CONFIG_LCD vidinfo_t panel_info = { - vl_col: 240, - vl_row: 320, - vl_clk: 4965000, - vl_sync: ATMEL_LCDC_INVLINE_INVERTED | - ATMEL_LCDC_INVFRAME_INVERTED, - vl_bpix: 3, - vl_tft: 1, - vl_hsync_len: 5, - vl_left_margin: 1, - vl_right_margin:33, - vl_vsync_len: 1, - vl_upper_margin:1, - vl_lower_margin:0, - mmio: ATMEL_BASE_LCDC, + .vl_col = 240, + .vl_row = 320, + .vl_clk = 4965000, + .vl_sync = ATMEL_LCDC_INVLINE_INVERTED | + ATMEL_LCDC_INVFRAME_INVERTED, + .vl_bpix = 3, + .vl_tft = 1, + .vl_hsync_len = 5, + .vl_left_margin = 1, + .vl_right_margin = 33, + .vl_vsync_len = 1, + .vl_upper_margin = 1, + .vl_lower_margin = 0, + .mmio = ATMEL_BASE_LCDC, }; void lcd_enable(void) |