summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);