Skip to contentSkip to conversation

sbc8560: fix compile warning on CPM pin array

PATCH Applied Paul Gortmaker 2 participants 2 messages Sep 3, 2008 – Sep 16, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sbc8560: fix compile warning on CPM pin array

This is just a parallel of a5dc66e2ab2e2cf641346b056a69a67cfcf9458c applied to the sbc8560 board.

---
 arch/powerpc/platforms/85xx/sbc8560.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/powerpc/platforms/85xx/sbc8560.c +1 -1
index c34b33d..4d1ea1a 100644
@@ -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);
 	}
 
Signature · 1 line
1.6.0
Applied
#1 lore raw
Quoted 7 lines · Paul Gortmaker

This is just a parallel of a5dc66e2ab2e2cf641346b056a69a67cfcf9458c applied to the sbc8560 board.

---
arch/powerpc/platforms/85xx/sbc8560.c | 2 +-

1 files changed, 1 insertions(+), 1 deletions(-)

applied to powerpc-next.

- k