diff options
author | Furquan Shaikh <furquan@google.com> | 2016-08-29 22:51:41 -0700 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-09-13 17:21:02 +0200 |
commit | 25f75b28e4e545eb2c42e4e201055661e57a90ca (patch) | |
tree | 486df3a3e3c18d9e268f8503a640bd3fc2dc502b /src/northbridge/intel/gm45/early_init.c | |
parent | 823f1a9bbfc5daf72e5f2f76bf2034b250396d9d (diff) | |
download | coreboot-25f75b28e4e545eb2c42e4e201055661e57a90ca.tar.xz |
northbridge/intel/gm45: transation away from device_t
Replace the use of the old device_t definition inside
northbridge/intel/gm45.
The patch has been tested both with the arch/io.h definition of device_t
enabled and disabled in order to ensure compatibility while the
transaction takes place.
Change-Id: I87754799f922cf241fb456071bac04e6fe1eab34
Signed-off-by: Antonello Dettori <dev@dettori.io>
Reviewed-on: https://review.coreboot.org/16402
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/northbridge/intel/gm45/early_init.c')
-rw-r--r-- | src/northbridge/intel/gm45/early_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/northbridge/intel/gm45/early_init.c b/src/northbridge/intel/gm45/early_init.c index ee2a6ecd95..c2e4aea2ac 100644 --- a/src/northbridge/intel/gm45/early_init.c +++ b/src/northbridge/intel/gm45/early_init.c @@ -19,7 +19,7 @@ void gm45_early_init(void) { - const device_t d0f0 = PCI_DEV(0, 0, 0); + const pci_devfn_t d0f0 = PCI_DEV(0, 0, 0); /* Setup MCHBAR. */ pci_write_config32(d0f0, D0F0_MCHBAR_LO, (uintptr_t)DEFAULT_MCHBAR | 1); |