aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorAntonello Dettori <dev@dettori.io>2016-11-08 18:44:46 +0100
committerMartin Roth <martinroth@google.com>2016-11-10 16:59:13 +0100
commit6fec83a2f9bf1c5ad7ac2406d15941fa9d19c066 (patch)
tree88881db5c8f7ea9066035bb69e9f86db7d3cc276 /src/mainboard
parent0bcd297d938509668e474b20799a82670808220b (diff)
mainboard/supermicro/h8qgi: transition away from device_t
Replace the use of the old device_t definition inside mainboard/supermicro/h8qgi. Change-Id: I6cf123272283edbf89e854e4aa1a15a2d566133e Signed-off-by: Antonello Dettori <dev@dettori.io> Reviewed-on: https://review.coreboot.org/17305 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/supermicro/h8qgi/BiosCallOuts.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/supermicro/h8qgi/BiosCallOuts.c b/src/mainboard/supermicro/h8qgi/BiosCallOuts.c
index ac978a1ea7..9a9156829e 100644
--- a/src/mainboard/supermicro/h8qgi/BiosCallOuts.c
+++ b/src/mainboard/supermicro/h8qgi/BiosCallOuts.c
@@ -38,7 +38,7 @@
static UINT8 select_socket(UINT8 socket_id)
{
- device_t sm_dev = PCI_DEV(0, 0x14, 0); //SMBus
+ pci_devfn_t sm_dev = PCI_DEV(0, 0x14, 0); //SMBus
UINT8 value = 0;
UINT8 gpio56_to_53 = 0;
@@ -61,7 +61,7 @@ static UINT8 select_socket(UINT8 socket_id)
static void restore_socket(UINT8 original_value)
{
- device_t sm_dev = PCI_DEV(0, 0x14, 0); //SMBus
+ pci_devfn_t sm_dev = PCI_DEV(0, 0x14, 0); //SMBus
pci_write_config8(sm_dev, PCI_REG_GPIO_56_to_53_CNTRL, original_value);
}
#endif