summaryrefslogtreecommitdiff
path: root/arch/arm/imx-common
diff options
context:
space:
mode:
authorEric Nelson <eric.nelson@boundarydevices.com>2012-10-03 07:26:37 +0000
committerStefano Babic <sbabic@denx.de>2012-10-16 12:35:11 +0200
commit5ae28d2db28695e5f0c0f2aab2187536cac9af6c (patch)
tree25a1bdfce1bbb6ba1178e3187ad48e9c2166dd30 /arch/arm/imx-common
parentdce67bd548a8c21bf0998806825b0b90fce0e48d (diff)
downloadu-boot-imx-5ae28d2db28695e5f0c0f2aab2187536cac9af6c.zip
u-boot-imx-5ae28d2db28695e5f0c0f2aab2187536cac9af6c.tar.gz
u-boot-imx-5ae28d2db28695e5f0c0f2aab2187536cac9af6c.tar.bz2
i.MX: iomux: input pad array can be const
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com> Signed-off-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'arch/arm/imx-common')
-rw-r--r--arch/arm/imx-common/iomux-v3.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/imx-common/iomux-v3.c b/arch/arm/imx-common/iomux-v3.c
index da093fb..08fad78 100644
--- a/arch/arm/imx-common/iomux-v3.c
+++ b/arch/arm/imx-common/iomux-v3.c
@@ -54,9 +54,10 @@ int imx_iomux_v3_setup_pad(iomux_v3_cfg_t pad)
return 0;
}
-int imx_iomux_v3_setup_multiple_pads(iomux_v3_cfg_t *pad_list, unsigned count)
+int imx_iomux_v3_setup_multiple_pads(iomux_v3_cfg_t const *pad_list,
+ unsigned count)
{
- iomux_v3_cfg_t *p = pad_list;
+ iomux_v3_cfg_t const *p = pad_list;
int i;
int ret;