summaryrefslogtreecommitdiff
path: root/src/soc/intel/quark/chip.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-25 13:11:37 +0200
committerPatrick Georgi <pgeorgi@google.com>2018-05-28 16:07:35 +0000
commit696545db7bf3dd2682a1d636db5411fe0e7c0c54 (patch)
tree95f995d80b074320e903dbe19497ac9c50c16633 /src/soc/intel/quark/chip.c
parentd6cd2553210d303eb8593400dfc87f7f71d7d995 (diff)
soc/intel/quark: Get rid of device_t
Use of device_t has been abandoned in ramstage. Change-Id: I102c9b9b1066064589149388d5ebbcd6d0d81fa7 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26542 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/soc/intel/quark/chip.c')
-rw-r--r--src/soc/intel/quark/chip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/intel/quark/chip.c b/src/soc/intel/quark/chip.c
index 91ab8f525c..2f8b8267d1 100644
--- a/src/soc/intel/quark/chip.c
+++ b/src/soc/intel/quark/chip.c
@@ -121,7 +121,7 @@ static void chip_init(void *chip_info)
fsp_silicon_init(romstage_handoff_is_resume());
}
-static void pci_domain_set_resources(device_t dev)
+static void pci_domain_set_resources(struct device *dev)
{
assign_resources(dev->link_list);
}
@@ -132,7 +132,7 @@ static struct device_operations pci_domain_ops = {
.scan_bus = pci_domain_scan_bus,
};
-static void chip_enable_dev(device_t dev)
+static void chip_enable_dev(struct device *dev)
{
/* Set the operations if it is a special bus type */