projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48d6c64
)
powerpc/sbc8560: fix compile warning on CPM pin array
author
Paul Gortmaker
<
[email protected]
>
Wed, 3 Sep 2008 20:02:25 +0000
(16:02 -0400)
committer
Kumar Gala
<
[email protected]
>
Tue, 16 Sep 2008 15:01:52 +0000
(10:01 -0500)
This is just a parallel of
a5dc66e2ab2e2cf641346b056a69a67cfcf9458c
applied to the sbc8560 board.
Signed-off-by: Paul Gortmaker <
[email protected]
>
Signed-off-by: Kumar Gala <
[email protected]
>
arch/powerpc/platforms/85xx/sbc8560.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/platforms/85xx/sbc8560.c
b/arch/powerpc/platforms/85xx/sbc8560.c
index 6509ade71668e658729ddb6266217c6ccd8538fe..e0cf0602d8b7191dc47587e5f155822d572cf782 100644
(file)
--- 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);
}