diff options
Diffstat (limited to 'arch/arm/mach-mx3/iomux-imx31.c')
-rw-r--r-- | arch/arm/mach-mx3/iomux-imx31.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/arm/mach-mx3/iomux-imx31.c b/arch/arm/mach-mx3/iomux-imx31.c index a1d7fa5123dc..cf8f8099ebd7 100644 --- a/arch/arm/mach-mx3/iomux-imx31.c +++ b/arch/arm/mach-mx3/iomux-imx31.c | |||
@@ -97,7 +97,7 @@ EXPORT_SYMBOL(mxc_iomux_set_pad); | |||
97 | * - reserves the pin so that it is not claimed by another driver | 97 | * - reserves the pin so that it is not claimed by another driver |
98 | * - setups the iomux according to the configuration | 98 | * - setups the iomux according to the configuration |
99 | */ | 99 | */ |
100 | int mxc_iomux_alloc_pin(const unsigned int pin, const char *label) | 100 | int mxc_iomux_alloc_pin(unsigned int pin, const char *label) |
101 | { | 101 | { |
102 | unsigned pad = pin & IOMUX_PADNUM_MASK; | 102 | unsigned pad = pin & IOMUX_PADNUM_MASK; |
103 | 103 | ||
@@ -118,10 +118,10 @@ int mxc_iomux_alloc_pin(const unsigned int pin, const char *label) | |||
118 | } | 118 | } |
119 | EXPORT_SYMBOL(mxc_iomux_alloc_pin); | 119 | EXPORT_SYMBOL(mxc_iomux_alloc_pin); |
120 | 120 | ||
121 | int mxc_iomux_setup_multiple_pins(unsigned int *pin_list, unsigned count, | 121 | int mxc_iomux_setup_multiple_pins(const unsigned int *pin_list, unsigned count, |
122 | const char *label) | 122 | const char *label) |
123 | { | 123 | { |
124 | unsigned int *p = pin_list; | 124 | const unsigned int *p = pin_list; |
125 | int i; | 125 | int i; |
126 | int ret = -EINVAL; | 126 | int ret = -EINVAL; |
127 | 127 | ||
@@ -139,7 +139,7 @@ setup_error: | |||
139 | } | 139 | } |
140 | EXPORT_SYMBOL(mxc_iomux_setup_multiple_pins); | 140 | EXPORT_SYMBOL(mxc_iomux_setup_multiple_pins); |
141 | 141 | ||
142 | void mxc_iomux_release_pin(const unsigned int pin) | 142 | void mxc_iomux_release_pin(unsigned int pin) |
143 | { | 143 | { |
144 | unsigned pad = pin & IOMUX_PADNUM_MASK; | 144 | unsigned pad = pin & IOMUX_PADNUM_MASK; |
145 | 145 | ||
@@ -148,9 +148,9 @@ void mxc_iomux_release_pin(const unsigned int pin) | |||
148 | } | 148 | } |
149 | EXPORT_SYMBOL(mxc_iomux_release_pin); | 149 | EXPORT_SYMBOL(mxc_iomux_release_pin); |
150 | 150 | ||
151 | void mxc_iomux_release_multiple_pins(unsigned int *pin_list, int count) | 151 | void mxc_iomux_release_multiple_pins(const unsigned int *pin_list, int count) |
152 | { | 152 | { |
153 | unsigned int *p = pin_list; | 153 | const unsigned int *p = pin_list; |
154 | int i; | 154 | int i; |
155 | 155 | ||
156 | for (i = 0; i < count; i++) { | 156 | for (i = 0; i < count; i++) { |