aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/hp/dl145_g1/acpi_tables.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-04 20:41:40 +0200
committerPatrick Rudolph <siro@das-labor.org>2018-05-08 17:51:57 +0000
commit56f172d9c07743379b36a0d6ce22951549bc2546 (patch)
tree08abfe3cd808e03f69af1997f20c464269ef5166 /src/mainboard/hp/dl145_g1/acpi_tables.c
parent5bb159a6cf588e0408aa3c56d61242a9f6e803d5 (diff)
mb/hp: Get rid of device_t
Use of device_t has been abandoned in ramstage. Change-Id: Ib9c0d0a85a9e38cdb1bdbcfa055e597f19cf3d5c Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26087 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/mainboard/hp/dl145_g1/acpi_tables.c')
-rw-r--r--src/mainboard/hp/dl145_g1/acpi_tables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/hp/dl145_g1/acpi_tables.c b/src/mainboard/hp/dl145_g1/acpi_tables.c
index ca6cea0ff4..a464678036 100644
--- a/src/mainboard/hp/dl145_g1/acpi_tables.c
+++ b/src/mainboard/hp/dl145_g1/acpi_tables.c
@@ -40,7 +40,7 @@ unsigned long acpi_fill_madt(unsigned long current)
/* Write all 8131 IOAPICs */
{
- device_t dev;
+ struct device *dev;
struct resource *res;
dev = dev_find_slot(m->bus_8131_0, PCI_DEVFN((sysconf.hcdn[0]&0xff), 1));
if (dev) {