]> git.sur5r.net Git - u-boot/blobdiff - board/Marvell/guruplug/guruplug.c
kirkwood: make MPP arrays static const
[u-boot] / board / Marvell / guruplug / guruplug.c
index 057c558682675fc09f33d4d4b2652cff73e54776..3a52ab2744472d365948b60d13ac0bb783f8b0f5 100644 (file)
@@ -43,7 +43,7 @@ int board_early_init_f(void)
                        GURUPLUG_OE_LOW, GURUPLUG_OE_HIGH);
 
        /* Multi-Purpose Pins Functionality configuration */
-       u32 kwmpp_config[] = {
+       static const u32 kwmpp_config[] = {
                MPP0_NF_IO2,
                MPP1_NF_IO3,
                MPP2_NF_IO4,
@@ -96,7 +96,7 @@ int board_early_init_f(void)
                MPP49_GPIO,     /* B_GLED */
                0
        };
-       kirkwood_mpp_conf(kwmpp_config);
+       kirkwood_mpp_conf(kwmpp_config, NULL);
        return 0;
 }