diff mbox

[U-Boot,2/2] i.MX: ipufb: add const to fb_videomode declarations

Message ID 1349285259-30792-3-git-send-email-eric.nelson@boundarydevices.com
State Awaiting Upstream
Delegated to: Stefano Babic
Headers show

Commit Message

Eric Nelson Oct. 3, 2012, 5:27 p.m. UTC
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
---
 board/freescale/mx51evk/mx51evk.c   |    2 +-
 board/freescale/mx53loco/mx53loco.c |    2 +-
 board/ttcontrol/vision2/vision2.c   |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

Comments

Stefano Babic Oct. 10, 2012, 12:07 p.m. UTC | #1
On 03/10/2012 19:27, Eric Nelson wrote:
> Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
> ---
>  board/freescale/mx51evk/mx51evk.c   |    2 +-
>  board/freescale/mx53loco/mx53loco.c |    2 +-
>  board/ttcontrol/vision2/vision2.c   |    2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)
> 

Applied to u-boot-imx, next branch, thanks.

Best regards,
Stefano Babic
diff mbox

Patch

diff --git a/board/freescale/mx51evk/mx51evk.c b/board/freescale/mx51evk/mx51evk.c
index a94701c..3c4f814 100644
--- a/board/freescale/mx51evk/mx51evk.c
+++ b/board/freescale/mx51evk/mx51evk.c
@@ -467,7 +467,7 @@  int board_mmc_init(bd_t *bis)
 }
 #endif
 
-static struct fb_videomode claa_wvga = {
+static struct fb_videomode const claa_wvga = {
 	.name		= "CLAA07LC0ACW",
 	.refresh	= 57,
 	.xres		= 800,
diff --git a/board/freescale/mx53loco/mx53loco.c b/board/freescale/mx53loco/mx53loco.c
index 6543209..6fcaa0b 100644
--- a/board/freescale/mx53loco/mx53loco.c
+++ b/board/freescale/mx53loco/mx53loco.c
@@ -409,7 +409,7 @@  static void clock_1GHz(void)
 		printf("CPU:   Switch DDR clock to 400MHz failed\n");
 }
 
-static struct fb_videomode claa_wvga = {
+static struct fb_videomode const claa_wvga = {
 	.name		= "CLAA07LC0ACW",
 	.refresh	= 57,
 	.xres		= 800,
diff --git a/board/ttcontrol/vision2/vision2.c b/board/ttcontrol/vision2/vision2.c
index f28eab0..82aa4da 100644
--- a/board/ttcontrol/vision2/vision2.c
+++ b/board/ttcontrol/vision2/vision2.c
@@ -43,7 +43,7 @@ 
 
 DECLARE_GLOBAL_DATA_PTR;
 
-static struct fb_videomode nec_nl6448bc26_09c = {
+static struct fb_videomode const nec_nl6448bc26_09c = {
 	"NEC_NL6448BC26-09C",
 	60,	/* Refresh */
 	640,	/* xres */