From 68c851bcd702e7816cdb6e504f7386ec404ecf13 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Tue, 12 Jun 2018 22:06:09 +0200 Subject: src: Get rid of device_t Use of device_t is deprecated. Change-Id: I6adc0429ae9ecc8f726d6167a6458d9333dc515f Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/27036 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- Documentation/Intel/SoC/soc.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Documentation/Intel') diff --git a/Documentation/Intel/SoC/soc.html b/Documentation/Intel/SoC/soc.html index b4804de221..29b819ec82 100644 --- a/Documentation/Intel/SoC/soc.html +++ b/Documentation/Intel/SoC/soc.html @@ -516,7 +516,7 @@ Use the following steps to debug the call to TempRamInit: a "struct pci_operations" that specifies a routine to set the subsystem IDs for the device. The routine might look something like this:

-
static void pci_set_subsystem(device_t dev, unsigned vendor, unsigned device)
+
static void pci_set_subsystem(struct device *dev, unsigned vendor, unsigned device)
 {
 	if (!vendor || !device) {
 		vendor = pci_read_config32(dev, PCI_VENDOR_ID);
@@ -538,7 +538,7 @@ Use the following steps to debug the call to TempRamInit:
   The memory map is built by the various PCI device drivers during the
   BS_DEV_RESOURCES state of ramstage.  The northcluster driver will typically
   specify the DRAM resources while the other drivers will typically specify
-  the IO resources.  These resources are hung off the device_t data structure by
+  the IO resources.  These resources are hung off the struct device *data structure by
   src/device/device_util.c/new_resource.
 

-- cgit v1.2.3