From ee8ce8d208a4e12c487e4ca84d856922483c0117 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Tue, 22 May 2018 10:22:30 +0200 Subject: nb/intel/sandybridge: Get rid of device_t Use of device_t has been abandoned in ramstage. Change-Id: If36a879fbe7a93a214d74dbfa6fb3ee2d09a044a Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/26454 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber --- src/northbridge/intel/sandybridge/pcie.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/northbridge/intel/sandybridge/pcie.c b/src/northbridge/intel/sandybridge/pcie.c index 9cb823e34c..bb88c7a02e 100644 --- a/src/northbridge/intel/sandybridge/pcie.c +++ b/src/northbridge/intel/sandybridge/pcie.c @@ -48,7 +48,7 @@ static const char *pcie_acpi_name(const struct device *dev) return "PEG6"; }; - const device_t port = dev->bus->dev; + struct device *const port = dev->bus->dev; assert(port); assert(port->bus); -- cgit v1.2.3