Commit a5dc66e2 authored by Kumar Gala's avatar Kumar Gala

[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: default avatarKumar Gala <galak@kernel.crashing.org>
parent f9b9908c
...@@ -165,7 +165,7 @@ static void __init init_ioports(void) ...@@ -165,7 +165,7 @@ static void __init init_ioports(void)
int i; int i;
for (i = 0; i < ARRAY_SIZE(mpc8560_ads_pins); i++) { for (i = 0; i < ARRAY_SIZE(mpc8560_ads_pins); i++) {
struct cpm_pin *pin = &mpc8560_ads_pins[i]; const struct cpm_pin *pin = &mpc8560_ads_pins[i];
cpm2_set_pin(pin->port, pin->pin, pin->flags); cpm2_set_pin(pin->port, pin->pin, pin->flags);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment