diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2008-04-16 00:35:47 -0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2008-04-17 02:01:41 -0400 |
commit | a5dc66e2ab2e2cf641346b056a69a67cfcf9458c (patch) | |
tree | 758c12c659e548207959906d6bd204dd57731647 /arch | |
parent | f9b9908cf92cbefcadaf3a22280006288b1d571f (diff) |
[POWERPC] 85xx: Fix compile warning
arch/powerpc/platforms/85xx/mpc85xx_ads.c: In function ‘init_ioports’:
arch/powerpc/platforms/85xx/mpc85xx_ads.c:168: warning: initialization discards qualifiers from pointer target type
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/platforms/85xx/mpc85xx_ads.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/85xx/mpc85xx_ads.c b/arch/powerpc/platforms/85xx/mpc85xx_ads.c index 4e0305096114..3582c841844b 100644 --- a/arch/powerpc/platforms/85xx/mpc85xx_ads.c +++ b/arch/powerpc/platforms/85xx/mpc85xx_ads.c | |||
@@ -165,7 +165,7 @@ static void __init init_ioports(void) | |||
165 | int i; | 165 | int i; |
166 | 166 | ||
167 | for (i = 0; i < ARRAY_SIZE(mpc8560_ads_pins); i++) { | 167 | for (i = 0; i < ARRAY_SIZE(mpc8560_ads_pins); i++) { |
168 | struct cpm_pin *pin = &mpc8560_ads_pins[i]; | 168 | const struct cpm_pin *pin = &mpc8560_ads_pins[i]; |
169 | cpm2_set_pin(pin->port, pin->pin, pin->flags); | 169 | cpm2_set_pin(pin->port, pin->pin, pin->flags); |
170 | } | 170 | } |
171 | 171 | ||