UPSTREAM: southbridge/intel/i82801dx: transition away from device_t

Replace the use of the old device_t definition inside
southbridge/intel/i82801dx.

BUG=None
BRANCH=None
TEST=None

Signed-off-by: Antonello Dettori <dev@dettori.io>
Reviewed-on: https://review.coreboot.org/17297
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>

Change-Id: I32888930d3742432a73dfc0a32c6586186e6757c
Reviewed-on: https://chromium-review.googlesource.com/410089
Commit-Ready: Furquan Shaikh <furquan@chromium.org>
Tested-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
Antonello Dettori 2016-11-08 18:44:46 +01:00 committed by chrome-bot
parent d9e89b1782
commit b4fbc41e55

View file

@ -17,7 +17,7 @@
static void i82801dx_halt_tco_timer(void)
{
/* Set the LPC device statically. */
device_t dev = PCI_DEV(0x0, 0x1f, 0x0);
pci_devfn_t dev = PCI_DEV(0x0, 0x1f, 0x0);
/* Temporarily set ACPI base address (I/O space). */
pci_write_config32(dev, PMBASE, (PMBASE_ADDR | 1));