commit | ee8ce8d208a4e12c487e4ca84d856922483c0117 | [log] [tgz] |
---|---|---|
author | Elyes HAOUAS <ehaouas@noos.fr> | Tue May 22 10:22:30 2018 +0200 |
committer | Nico Huber <nico.h@gmx.de> | Thu May 24 10:36:37 2018 +0000 |
tree | 7e48d2acffdd4925ad09803c2ce377755d174306 | |
parent | 9d5f9f2671aa0a27039b0cde674701bcadfa71eb [diff] |
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>
diff --git a/src/northbridge/intel/sandybridge/pcie.c b/src/northbridge/intel/sandybridge/pcie.c index 9cb823e..bb88c7a 100644 --- a/src/northbridge/intel/sandybridge/pcie.c +++ b/src/northbridge/intel/sandybridge/pcie.c
@@ -48,7 +48,7 @@ return "PEG6"; }; - const device_t port = dev->bus->dev; + struct device *const port = dev->bus->dev; assert(port); assert(port->bus);