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>
This commit is contained in:
parent
9d5f9f2671
commit
ee8ce8d208
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue