summaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx/mach-pcm043.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2015-02-21 18:08:21 +0300
committerShawn Guo <shawn.guo@linaro.org>2015-03-03 07:04:41 +0300
commit9fece9bdabfff12610572a4e5c072bdc043fae9f (patch)
treed60df332398b5b86fe2fedb8c468d3a97b6d9eb3 /arch/arm/mach-imx/mach-pcm043.c
parentc517d838eb7d07bbe9507871fab3931deccff539 (diff)
downloadlinux-9fece9bdabfff12610572a4e5c072bdc043fae9f.tar.xz
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-pcm043.c')
-rw-r--r--arch/arm/mach-imx/mach-pcm043.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/mach-pcm043.c b/arch/arm/mach-imx/mach-pcm043.c
index b623bcaca76c..e447e59c0604 100644
--- a/arch/arm/mach-imx/mach-pcm043.c
+++ b/arch/arm/mach-imx/mach-pcm043.c
@@ -129,7 +129,7 @@ static struct platform_device *devices[] __initdata = {
&pcm043_flash,
};
-static iomux_v3_cfg_t pcm043_pads[] = {
+static const iomux_v3_cfg_t pcm043_pads[] __initconst = {
/* UART1 */
MX35_PAD_CTS1__UART1_CTS,
MX35_PAD_RTS1__UART1_RTS,