mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 08:44:21 +08:00
powerpc/sbc8560: fix compile warning on CPM pin array
This is just a parallel of a5dc66e2ab
applied to the sbc8560 board.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
This commit is contained in:
parent
48d6c64311
commit
66576a87dd
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user