aboutsummaryrefslogtreecommitdiff
path: root/src/southbridge/amd/amd8111/early_smbus.c
diff options
context:
space:
mode:
authorAntonello Dettori <dev@dettori.io>2016-09-03 10:45:33 +0200
committerMartin Roth <martinroth@google.com>2016-09-13 17:17:43 +0200
commitbf4224c723ce4a7ea115c7539447668e05510509 (patch)
tree896b23b953d41c28df949d054d692c7f27d0458a /src/southbridge/amd/amd8111/early_smbus.c
parentb0a60e5b212d7f98206a75f07edf0371d7cd9c1f (diff)
southbridge/amd/amd8111: transition away from device_t
Replace the use of the old device_t definition inside southbridge/amd/amd8111. Change-Id: I76cdc32171b7ce819b53c534b3a5e57e9dd5f3dd Signed-off-by: Antonello Dettori <dev@dettori.io> Reviewed-on: https://review.coreboot.org/16473 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/southbridge/amd/amd8111/early_smbus.c')
-rw-r--r--src/southbridge/amd/amd8111/early_smbus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/southbridge/amd/amd8111/early_smbus.c b/src/southbridge/amd/amd8111/early_smbus.c
index aed4ebb46d..4c0ace5310 100644
--- a/src/southbridge/amd/amd8111/early_smbus.c
+++ b/src/southbridge/amd/amd8111/early_smbus.c
@@ -4,7 +4,7 @@
static void enable_smbus(void)
{
- device_t dev;
+ pci_devfn_t dev;
uint8_t enable;
dev = pci_locate_device(PCI_ID(0x1022, 0x746b), 0);