summaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx/iomux-v3.h
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2015-02-21 16:08:21 +0100
committerShawn Guo <shawn.guo@linaro.org>2015-03-03 12:04:41 +0800
commit9fece9bdabfff12610572a4e5c072bdc043fae9f (patch)
treed60df332398b5b86fe2fedb8c468d3a97b6d9eb3 /arch/arm/mach-imx/iomux-v3.h
parentc517d838eb7d07bbe9507871fab3931deccff539 (diff)
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/iomux-v3.h')
-rw-r--r--arch/arm/mach-imx/iomux-v3.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/iomux-v3.h b/arch/arm/mach-imx/iomux-v3.h
index 2fa3b5430102..5f4bbf124832 100644
--- a/arch/arm/mach-imx/iomux-v3.h
+++ b/arch/arm/mach-imx/iomux-v3.h
@@ -131,7 +131,8 @@ int mxc_iomux_v3_setup_pad(iomux_v3_cfg_t pad);
* setups mutliple pads
* convenient way to call the above function with tables
*/
-int mxc_iomux_v3_setup_multiple_pads(iomux_v3_cfg_t *pad_list, unsigned count);
+int mxc_iomux_v3_setup_multiple_pads(const iomux_v3_cfg_t *pad_list,
+ unsigned count);
/*
* Initialise the iomux controller