diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2015-02-21 16:08:21 +0100 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2015-03-03 05:04:41 +0100 |
commit | 9fece9bdabfff12610572a4e5c072bdc043fae9f (patch) | |
tree | d60df332398b5b86fe2fedb8c468d3a97b6d9eb3 /arch/arm/mach-imx/mach-mx25_3ds.c | |
parent | Linux 4.0-rc1 (diff) | |
download | linux-9fece9bdabfff12610572a4e5c072bdc043fae9f.tar.xz linux-9fece9bdabfff12610572a4e5c072bdc043fae9f.zip |
ARM: imx/iomux-v3: allow pad_list to be const
Also fix all machine files to make use of it and while at it also make
the pad lists __initconst.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/mach-imx/mach-mx25_3ds.c')
-rw-r--r-- | arch/arm/mach-imx/mach-mx25_3ds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/mach-mx25_3ds.c b/arch/arm/mach-imx/mach-mx25_3ds.c index 0d01e367b062..584248a5e1e9 100644 --- a/arch/arm/mach-imx/mach-mx25_3ds.c +++ b/arch/arm/mach-imx/mach-mx25_3ds.c @@ -50,7 +50,7 @@ static const struct imxuart_platform_data uart_pdata __initconst = { .flags = IMXUART_HAVE_RTSCTS, }; -static iomux_v3_cfg_t mx25pdk_pads[] = { +static const iomux_v3_cfg_t mx25pdk_pads[] __initconst = { MX25_PAD_FEC_MDC__FEC_MDC, MX25_PAD_FEC_MDIO__FEC_MDIO, MX25_PAD_FEC_TDATA0__FEC_TDATA0, |