diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-05-13 13:25:13 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-05-14 22:26:46 +0000 |
commit | 07e77f13d4987a4424be254f439bb6ac505761a7 (patch) | |
tree | 114e5fd1ad8107a2437022b9e83746ef970cc3ee /src/southbridge/intel/i82371eb/isa.c | |
parent | 6f7e8dee588de6f425c27a8271e2cdcb8075deeb (diff) | |
download | coreboot-07e77f13d4987a4424be254f439bb6ac505761a7.tar.xz |
sb/intel/i82371eb: Get rid of device_t
Use of device_t has been abandoned in ramstage.
Change-Id: Ie366a49045940747eb5cc1e38316cce31c5774cb
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/26251
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/southbridge/intel/i82371eb/isa.c')
-rw-r--r-- | src/southbridge/intel/i82371eb/isa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/southbridge/intel/i82371eb/isa.c b/src/southbridge/intel/i82371eb/isa.c index 2bab05cb15..8030a750c8 100644 --- a/src/southbridge/intel/i82371eb/isa.c +++ b/src/southbridge/intel/i82371eb/isa.c @@ -36,7 +36,7 @@ static void enable_intel_82093aa_ioapic(void) u8 ioapic_id = 2; volatile u32 *ioapic_index = (volatile u32 *)(IO_APIC_ADDR); volatile u32 *ioapic_data = (volatile u32 *)(IO_APIC_ADDR + 0x10); - device_t dev; + struct device *dev; dev = dev_find_device(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82371AB_ISA, 0); @@ -125,7 +125,7 @@ static void sb_read_resources(struct device *dev) } #if IS_ENABLED(CONFIG_HAVE_ACPI_TABLES) -static void southbridge_acpi_fill_ssdt_generator(device_t device) +static void southbridge_acpi_fill_ssdt_generator(struct device *device) { acpigen_write_mainboard_resources("\\_SB.PCI0.MBRS", "_CRS"); generate_cpu_entries(device); |