summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2008-09-03 22:02:25 +0200
committerKumar Gala <galak@kernel.crashing.org>2008-09-16 17:01:52 +0200
commit66576a87dda18cede6a728685366c9c0fedd1742 (patch)
treee991f1ea492976a02c17cd88a6cb86de295aa4ea /arch/powerpc/platforms
parentmath-emu: Add support for reporting exact invalid exception (diff)
downloadlinux-66576a87dda18cede6a728685366c9c0fedd1742.tar.xz
linux-66576a87dda18cede6a728685366c9c0fedd1742.zip
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 <paul.gortmaker@windriver.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms')
-rw-r--r--arch/powerpc/platforms/85xx/sbc8560.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/85xx/sbc8560.c b/arch/powerpc/platforms/85xx/sbc8560.c
index 6509ade71668..e0cf0602d8b7 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);
}