From df99d13f258de07ada8a65316e4ebb70d1717899 Mon Sep 17 00:00:00 2001 From: Felix Held Date: Fri, 19 Jun 2020 20:34:58 +0200 Subject: mb/google/zork: rename fch_apic_routing struct to fch_irq_routing fch_apic_routing is used as name of an array that init_tables() populates with the APIC IRQ routing information. Also the fch_pirq array where fch_apic_routing was used as struct name contains the IRQ mapping for both PIC and APIC mode, so rename it to fch_irq_routing. Change-Id: Iba7a2416c6e07cde1b8618bdabf31b00e3ca4dd1 Signed-off-by: Felix Held Reviewed-on: https://review.coreboot.org/c/coreboot/+/42569 Tested-by: build bot (Jenkins) Reviewed-by: Raul Rangel --- src/mainboard/google/zork/mainboard.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mainboard/google') diff --git a/src/mainboard/google/zork/mainboard.c b/src/mainboard/google/zork/mainboard.c index b17c7f8b9d..f87066a2f3 100644 --- a/src/mainboard/google/zork/mainboard.c +++ b/src/mainboard/google/zork/mainboard.c @@ -70,7 +70,7 @@ static const struct pirq_struct mainboard_pirq_data[] = { * This controls the device -> IRQ routing. * The PIC values are limited to 0,1, 3 - 12, 14, 15. */ -static const struct fch_apic_routing { +static const struct fch_irq_routing { uint8_t intr_index; uint8_t pic_irq_num; uint8_t apic_irq_num; @@ -96,7 +96,7 @@ static const struct fch_apic_routing { static void init_tables(void) { - const struct fch_apic_routing *entry; + const struct fch_irq_routing *entry; int i; memset(fch_pic_routing, PIRQ_NC, sizeof(fch_pic_routing)); -- cgit v1.2.3