summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-22 10:22:30 +0200
committerNico Huber <nico.h@gmx.de>2018-05-24 10:36:37 +0000
commitee8ce8d208a4e12c487e4ca84d856922483c0117 (patch)
tree7e48d2acffdd4925ad09803c2ce377755d174306
parent9d5f9f2671aa0a27039b0cde674701bcadfa71eb (diff)
downloadcoreboot-ee8ce8d208a4e12c487e4ca84d856922483c0117.tar.xz
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 <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26454 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
-rw-r--r--src/northbridge/intel/sandybridge/pcie.c2
1 files changed, 1 insertions, 1 deletions
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);