aboutsummaryrefslogtreecommitdiff
path: root/src/southbridge/intel/ibexpeak/thermal.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-13 13:40:39 +0200
committerPatrick Georgi <pgeorgi@google.com>2018-05-18 12:17:49 +0000
commitbe841404cc836aa0e4727f7cad7337cb38371e1d (patch)
treedc72356786a9ef76cf0b20dc415f2aa94254e977 /src/southbridge/intel/ibexpeak/thermal.c
parent77f7a6e3867307a4835c2d0013f73ada079d09d6 (diff)
sb/intel/ibexpeak: Get rid of device_t
Use of device_t has been abandoned in ramstage. Change-Id: I7d9d0a205f9a650eb87bc8f90f2a28a5c4b2891c Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26259 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/southbridge/intel/ibexpeak/thermal.c')
-rw-r--r--src/southbridge/intel/ibexpeak/thermal.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/southbridge/intel/ibexpeak/thermal.c b/src/southbridge/intel/ibexpeak/thermal.c
index 78b5b14be4..374cbf11dc 100644
--- a/src/southbridge/intel/ibexpeak/thermal.c
+++ b/src/southbridge/intel/ibexpeak/thermal.c
@@ -44,7 +44,8 @@ static void thermal_init(struct device *dev)
printk(BIOS_DEBUG, "Thermal init done.\n");
}
-static void set_subsystem(device_t dev, unsigned vendor, unsigned device)
+static void set_subsystem(struct device *dev, unsigned vendor,
+ unsigned device)
{
if (!vendor || !device) {
pci_write_config32(dev, PCI_SUBSYSTEM_VENDOR_ID,