summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAntonello Dettori <dev@dettori.io>2016-09-03 10:45:33 +0200
committerMartin Roth <martinroth@google.com>2016-09-10 04:56:04 +0200
commitf068a738074c4b320ed7f3d3e6ae16151f946ff8 (patch)
treea7af4c01ee3d394e7d30aa5c66115531790f14a1 /src
parent4e1d9f6b23a6a0152d7aab77dc3cc68ad776feb6 (diff)
downloadcoreboot-f068a738074c4b320ed7f3d3e6ae16151f946ff8.tar.xz
southbridge/intel/i82371eb: transition away from device_t
Replace the use of the old device_t definition inside southbridge/intel/i82371eb. Change-Id: Ie15a656c817a2ffe0f44ee3a89659d138a1bf212 Signed-off-by: Antonello Dettori <dev@dettori.io> Reviewed-on: https://review.coreboot.org/16483 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src')
-rw-r--r--src/southbridge/intel/i82371eb/early_pm.c2
-rw-r--r--src/southbridge/intel/i82371eb/early_smbus.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/southbridge/intel/i82371eb/early_pm.c b/src/southbridge/intel/i82371eb/early_pm.c
index 0605d10888..1794393135 100644
--- a/src/southbridge/intel/i82371eb/early_pm.c
+++ b/src/southbridge/intel/i82371eb/early_pm.c
@@ -23,7 +23,7 @@
void enable_pm(void)
{
- device_t dev;
+ pci_devfn_t dev;
u8 reg8;
u16 reg16;
diff --git a/src/southbridge/intel/i82371eb/early_smbus.c b/src/southbridge/intel/i82371eb/early_smbus.c
index 69e967aac8..af6b14b643 100644
--- a/src/southbridge/intel/i82371eb/early_smbus.c
+++ b/src/southbridge/intel/i82371eb/early_smbus.c
@@ -24,7 +24,7 @@
void enable_smbus(void)
{
- device_t dev;
+ pci_devfn_t dev;
u8 reg8;
u16 reg16;