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:
Elyes HAOUAS 2018-05-22 10:22:30 +02:00 committed by Nico Huber
parent 9d5f9f2671
commit ee8ce8d208
1 changed files with 1 additions and 1 deletions

View File

@ -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);