aboutsummaryrefslogtreecommitdiff
path: root/src/northbridge/intel/haswell/minihd.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-09 17:47:59 +0200
committerPatrick Georgi <pgeorgi@google.com>2018-05-18 12:17:43 +0000
commit77f7a6e3867307a4835c2d0013f73ada079d09d6 (patch)
tree3d5b8336f7a0e800f42b7a53b8fd55b0c53b18f6 /src/northbridge/intel/haswell/minihd.c
parent93323b303fef862b8254d284a9f6a5c616cf50eb (diff)
nb/intel/haswell: Get rid of device_t
Use of device_t has been abandoned in ramstage. Change-Id: I10fb736a7406a6571dffce883fb82c2711526762 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26196 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/northbridge/intel/haswell/minihd.c')
-rw-r--r--src/northbridge/intel/haswell/minihd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/northbridge/intel/haswell/minihd.c b/src/northbridge/intel/haswell/minihd.c
index 9e7ce0e94b..d8b4b664eb 100644
--- a/src/northbridge/intel/haswell/minihd.c
+++ b/src/northbridge/intel/haswell/minihd.c
@@ -103,7 +103,8 @@ static void minihd_init(struct device *dev)
}
}
-static void minihd_set_subsystem(device_t dev, unsigned vendor, unsigned device)
+static void minihd_set_subsystem(struct device *dev, unsigned vendor,
+ unsigned device)
{
if (!vendor || !device) {
pci_write_config32(dev, PCI_SUBSYSTEM_VENDOR_ID,