]> git.sur5r.net Git - u-boot/blobdiff - board/Marvell/dreamplug/dreamplug.c
kirkwood: make MPP arrays static const
[u-boot] / board / Marvell / dreamplug / dreamplug.c
index 31b73c98b0345ea861104fe82fe9b6111a48e60f..0caf34ff0a8f195f8a893ef93e07d566ccf97cf8 100644 (file)
@@ -46,7 +46,7 @@ int board_early_init_f(void)
                        DREAMPLUG_OE_LOW, DREAMPLUG_OE_HIGH);
 
        /* Multi-Purpose Pins Functionality configuration */
-       u32 kwmpp_config[] = {
+       static const u32 kwmpp_config[] = {
                MPP0_SPI_SCn,           /* SPI Flash */
                MPP1_SPI_MOSI,
                MPP2_SPI_SCK,
@@ -99,7 +99,7 @@ int board_early_init_f(void)
                MPP49_GPIO,             /* Wifi AP LED */
                0
        };
-       kirkwood_mpp_conf(kwmpp_config);
+       kirkwood_mpp_conf(kwmpp_config, NULL);
        return 0;
 }