Commit 1c4f8b0a authored by Paul Mackerras's avatar Paul Mackerras

PPC32: Compile fix for array initialization from Christoph Hellwig.

parent de27c564
...@@ -691,14 +691,14 @@ struct PCI_ConfigInfo { ...@@ -691,14 +691,14 @@ struct PCI_ConfigInfo {
unsigned long regs[NPCIREGS]; unsigned long regs[NPCIREGS];
} PCI_slots [NSLOTS] = { } PCI_slots [NSLOTS] = {
{ (unsigned long *)0x80808000, 0xDEADBEEF }, /* onboard */ { (unsigned long *)0x80808000, {0xDEADBEEF,} }, /* onboard */
{ (unsigned long *)0x80800800, 0xDEADBEEF }, /* onboard */ { (unsigned long *)0x80800800, {0xDEADBEEF,} }, /* onboard */
{ (unsigned long *)0x80801000, 0xDEADBEEF }, /* onboard */ { (unsigned long *)0x80801000, {0xDEADBEEF,} }, /* onboard */
{ (unsigned long *)0x80802000, 0xDEADBEEF }, /* onboard */ { (unsigned long *)0x80802000, {0xDEADBEEF,} }, /* onboard */
{ (unsigned long *)0x80804000, 0xDEADBEEF }, /* onboard */ { (unsigned long *)0x80804000, {0xDEADBEEF,} }, /* onboard */
{ (unsigned long *)0x80810000, 0xDEADBEEF }, /* slot A/1 */ { (unsigned long *)0x80810000, {0xDEADBEEF,} }, /* slot A/1 */
{ (unsigned long *)0x80820000, 0xDEADBEEF }, /* slot B/2 */ { (unsigned long *)0x80820000, {0xDEADBEEF,} }, /* slot B/2 */
{ (unsigned long *)0x80840000, 0xDEADBEEF } /* slot C/3 */ { (unsigned long *)0x80840000, {0xDEADBEEF,} } /* slot C/3 */
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment