From: Paul Gortmaker Date: Wed, 3 Sep 2008 20:02:25 +0000 (-0400) Subject: powerpc/sbc8560: fix compile warning on CPM pin array X-Git-Tag: v2.6.28-rc1~569^2~59^2~7 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=66576a87dda18cede6a728685366c9c0fedd1742;p=linux-2.6-omap-h63xx.git powerpc/sbc8560: fix compile warning on CPM pin array This is just a parallel of a5dc66e2ab2e2cf641346b056a69a67cfcf9458c applied to the sbc8560 board. Signed-off-by: Paul Gortmaker Signed-off-by: Kumar Gala --- diff --git a/arch/powerpc/platforms/85xx/sbc8560.c b/arch/powerpc/platforms/85xx/sbc8560.c index 6509ade7166..e0cf0602d8b 100644 --- a/arch/powerpc/platforms/85xx/sbc8560.c +++ b/arch/powerpc/platforms/85xx/sbc8560.c @@ -156,7 +156,7 @@ static void __init init_ioports(void) int i; for (i = 0; i < ARRAY_SIZE(sbc8560_pins); i++) { - struct cpm_pin *pin = &sbc8560_pins[i]; + const struct cpm_pin *pin = &sbc8560_pins[i]; cpm2_set_pin(pin->port, pin->pin, pin->flags); }