mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
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:
parent
d9e89b1782
commit
b4fbc41e55
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Reference in a new issue