diff options
Diffstat (limited to 'src/mainboard/amd/chausie')
-rw-r--r-- | src/mainboard/amd/chausie/mainboard.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mainboard/amd/chausie/mainboard.c b/src/mainboard/amd/chausie/mainboard.c index 0318e4333e..c0142368b3 100644 --- a/src/mainboard/amd/chausie/mainboard.c +++ b/src/mainboard/amd/chausie/mainboard.c @@ -29,7 +29,7 @@ static uint8_t fch_apic_routing[FCH_IRQ_ROUTING_ENTRIES]; * 8: rtc0 <- soc/amd/common/acpi/lpc.asl * 9: acpi <- soc/amd/common/acpi/lpc.asl */ -static const struct fch_irq_routing chausie_fch[] = { +static const struct fch_irq_routing fch_irq_map[] = { { PIRQ_A, 12, PIRQ_NC }, { PIRQ_B, 14, PIRQ_NC }, { PIRQ_C, 15, PIRQ_NC }, @@ -66,8 +66,8 @@ static void init_tables(void) memset(fch_pic_routing, PIRQ_NC, sizeof(fch_pic_routing)); memset(fch_apic_routing, PIRQ_NC, sizeof(fch_apic_routing)); - for (i = 0; i < ARRAY_SIZE(chausie_fch); i++) { - entry = chausie_fch + i; + for (i = 0; i < ARRAY_SIZE(fch_irq_map); i++) { + entry = fch_irq_map + i; fch_pic_routing[entry->intr_index] = entry->pic_irq_num; fch_apic_routing[entry->intr_index] = entry->apic_irq_num; } |