]> git.sur5r.net Git - u-boot/blobdiff - board/cloudengines/pogo_e02/pogo_e02.c
kirkwood: make MPP arrays static const
[u-boot] / board / cloudengines / pogo_e02 / pogo_e02.c
index ff3421d57613832a1c0b33b6a632473e2711b0d2..3b1c8ec2adde3a3a45726ec7d8e326183fbbade3 100644 (file)
@@ -45,7 +45,7 @@ int board_early_init_f(void)
                        POGO_E02_OE_LOW, POGO_E02_OE_HIGH);
 
        /* Multi-Purpose Pins Functionality configuration */
-       u32 kwmpp_config[] = {
+       static const u32 kwmpp_config[] = {
                MPP0_NF_IO2,
                MPP1_NF_IO3,
                MPP2_NF_IO4,
@@ -71,7 +71,7 @@ int board_early_init_f(void)
                MPP49_GPIO,     /* LED orange */
                0
        };
-       kirkwood_mpp_conf(kwmpp_config);
+       kirkwood_mpp_conf(kwmpp_config, NULL);
        return 0;
 }