summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-09 17:49:56 +0200
committerPatrick Georgi <pgeorgi@google.com>2018-05-11 09:02:55 +0000
commit322fa32e5e4b396ffba3f12cdb128b3aa4624f3c (patch)
tree103787b77b4de151d9cae070cbb1b083f9b3829a
parent3e7197a59edfb13c0dc8ffe47a67d744c7132c2a (diff)
nb/intel/i440bx: Get rid of device_t
Use of device_t has been abandoned in ramstage. Change-Id: I69c8b95ff1937c0b08147d9e26a3118c58129cf5 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26197 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
-rw-r--r--src/northbridge/intel/i440bx/northbridge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/northbridge/intel/i440bx/northbridge.c b/src/northbridge/intel/i440bx/northbridge.c
index b993817c6f..ae1a74f974 100644
--- a/src/northbridge/intel/i440bx/northbridge.c
+++ b/src/northbridge/intel/i440bx/northbridge.c
@@ -34,7 +34,7 @@ static const struct pci_driver northbridge_driver __pci_driver = {
static void i440bx_domain_set_resources(struct device *dev)
{
- device_t mc_dev;
+ struct device *mc_dev;
uint32_t pci_tolm;
pci_tolm = find_pci_tolm(dev->link_list);