diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-05-27 17:48:32 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2018-06-04 02:33:21 +0000 |
commit | 509edac717d608d94f8c343fc3de16310c020dac (patch) | |
tree | bb2239ad1a3ae32dad018673eabd9d11cca3235c /src/soc/intel/fsp_baytrail/chip.c | |
parent | 4aec34005d58360c503c3b5a2f1ed05efe1afbee (diff) |
soc/intel/fsp_baytrail: Get rid of device_t
Use of device_t has been abandoned in ramstage.
Change-Id: I52534b67cd3cd8489925941f45a756b3d430e072
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/26588
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/soc/intel/fsp_baytrail/chip.c')
-rw-r--r-- | src/soc/intel/fsp_baytrail/chip.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/soc/intel/fsp_baytrail/chip.c b/src/soc/intel/fsp_baytrail/chip.c index 814417aa37..a041b81da6 100644 --- a/src/soc/intel/fsp_baytrail/chip.c +++ b/src/soc/intel/fsp_baytrail/chip.c @@ -21,7 +21,7 @@ #include <drivers/intel/fsp1_0/fsp_util.h> #include "chip.h" -static void pci_domain_set_resources(device_t dev) +static void pci_domain_set_resources(struct device *dev) { assign_resources(dev->link_list); } @@ -42,7 +42,7 @@ static struct device_operations cpu_bus_ops = { .scan_bus = NULL, }; -static void enable_dev(device_t dev) +static void enable_dev(struct device *dev) { printk(BIOS_DEBUG, "enable_dev(%s, %d)\n", dev_name(dev), dev->path.type); @@ -73,7 +73,7 @@ struct chip_operations soc_intel_fsp_baytrail_ops = { .init = soc_init, }; -static void pci_set_subsystem(device_t dev, unsigned vendor, unsigned device) +static void pci_set_subsystem(struct device *dev, unsigned vendor, unsigned device) { if (!vendor || !device) { pci_write_config32(dev, PCI_SUBSYSTEM_VENDOR_ID, |