]> git.sur5r.net Git - u-boot/commitdiff
i.MX: ipufb: add const to fb_videomode declarations
authorEric Nelson <eric.nelson@boundarydevices.com>
Wed, 3 Oct 2012 07:27:39 +0000 (07:27 +0000)
committerStefano Babic <sbabic@denx.de>
Tue, 16 Oct 2012 10:35:11 +0000 (12:35 +0200)
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
board/freescale/mx51evk/mx51evk.c
board/freescale/mx53loco/mx53loco.c
board/ttcontrol/vision2/vision2.c

index 341295204c47a6183042c1f77fdd4d816fcc95be..421d8c224444e4ba935f71e6cf9fde39307e385a 100644 (file)
@@ -471,7 +471,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,
index 20569a5a92564e9363c39f6e345592b57a40a281..a11e8831866cfa143bb18ba0f6aeac3fec71b8a1 100644 (file)
@@ -412,7 +412,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,
index ba3307bb02bdbc39369f9d445b777ecc2693d397..abdd1aac2b5dd9bda98fb0a664506b4e6ed54d68 100644 (file)
@@ -44,7 +44,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 */