aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/fsp_baytrail/pmutil.c
diff options
context:
space:
mode:
authorAntonello Dettori <dev@dettori.io>2016-11-08 18:44:46 +0100
committerMartin Roth <martinroth@google.com>2017-03-26 04:33:19 +0200
commitfb94dcf5d5846de9b0709edd1ee22ef00277a7d2 (patch)
tree4120f50deac16fdc9bf8bf34d6e90c3732e585b6 /src/soc/intel/fsp_baytrail/pmutil.c
parent5ef5c00704ac902f33f52e8daa4f3167cf1000ba (diff)
soc/intel/fsp_baytrail: transition away from device_t
Replace the use of the old device_t definition inside soc/intel/fsp_baytrail. Change-Id: I2791346289c04049e6f032c8e120e4be9ba6657f Signed-off-by: Antonello Dettori <dev@dettori.io> Reviewed-on: https://review.coreboot.org/17319 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/soc/intel/fsp_baytrail/pmutil.c')
-rw-r--r--src/soc/intel/fsp_baytrail/pmutil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/intel/fsp_baytrail/pmutil.c b/src/soc/intel/fsp_baytrail/pmutil.c
index 3759174346..a5884122d6 100644
--- a/src/soc/intel/fsp_baytrail/pmutil.c
+++ b/src/soc/intel/fsp_baytrail/pmutil.c
@@ -24,9 +24,9 @@
#if defined(__SMM__)
-static const device_t pcu_dev = PCI_DEV(0, PCU_DEV, 0);
+static const pci_devfn_t pcu_dev = PCI_DEV(0, PCU_DEV, 0);
-static inline device_t get_pcu_dev(void)
+static inline pci_devfn_t get_pcu_dev(void)
{
return pcu_dev;
}