summaryrefslogtreecommitdiff
path: root/src/drivers/intel/i210
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-02 21:57:42 +0200
committerPatrick Georgi <pgeorgi@google.com>2018-05-04 10:19:45 +0000
commit712ef1f27661bdde7f7a0fa8d7812af2db1bb00a (patch)
treee665cf1039143917567cec393b2b89c088f9a696 /src/drivers/intel/i210
parent263076c49e422cc341c3538a45a6269bc69404a4 (diff)
drivers/intel/i210.c: Get rid of device_t
Use of `device_t` has been abandoned in ramstage. Change-Id: If9c122efbb7dbab7d834372da3c1c70463be7a77 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26010 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/drivers/intel/i210')
-rw-r--r--src/drivers/intel/i210/i210.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/intel/i210/i210.c b/src/drivers/intel/i210/i210.c
index b4ceadb2f3..d554745aa2 100644
--- a/src/drivers/intel/i210/i210.c
+++ b/src/drivers/intel/i210/i210.c
@@ -219,7 +219,7 @@ static void init(struct device *dev)
return;
}
-static void set_resources(device_t dev)
+static void set_resources(struct device *dev)
{
pci_dev_set_resources(dev);
dev->command |= PCI_COMMAND_MASTER;