]> git.sur5r.net Git - u-boot/commitdiff
wandboard: Staticize usdhc1_pads
authorFabio Estevam <fabio.estevam@freescale.com>
Sat, 15 Feb 2014 16:51:58 +0000 (14:51 -0200)
committerStefano Babic <sbabic@denx.de>
Wed, 5 Mar 2014 11:23:47 +0000 (12:23 +0100)
Fix the following sparse warning:

wandboard.c:58:22: warning: symbol 'usdhc1_pads' was not declared. Should it be static?

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
board/wandboard/wandboard.c

index 72e9bb2e972af3d86d4e0c40ae4b62c860c3c348..dbced1c3087f15bd23b176dd8f921e9defa0b63d 100644 (file)
@@ -55,7 +55,7 @@ static iomux_v3_cfg_t const uart1_pads[] = {
        MX6_PAD_CSI0_DAT11__UART1_RX_DATA | MUX_PAD_CTRL(UART_PAD_CTRL),
 };
 
-iomux_v3_cfg_t const usdhc1_pads[] = {
+static iomux_v3_cfg_t const usdhc1_pads[] = {
        MX6_PAD_SD1_CLK__SD1_CLK   | MUX_PAD_CTRL(USDHC_PAD_CTRL),
        MX6_PAD_SD1_CMD__SD1_CMD   | MUX_PAD_CTRL(USDHC_PAD_CTRL),
        MX6_PAD_SD1_DAT0__SD1_DATA0 | MUX_PAD_CTRL(USDHC_PAD_CTRL),