summaryrefslogtreecommitdiff
path: root/src/soc/intel/baytrail/chip.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/baytrail/chip.c')
-rw-r--r--src/soc/intel/baytrail/chip.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/soc/intel/baytrail/chip.c b/src/soc/intel/baytrail/chip.c
index dab2cd199f..94a5a8ec14 100644
--- a/src/soc/intel/baytrail/chip.c
+++ b/src/soc/intel/baytrail/chip.c
@@ -22,7 +22,7 @@
#include <soc/ramstage.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);
}
@@ -44,7 +44,7 @@ static struct device_operations cpu_bus_ops = {
};
-static void enable_dev(device_t dev)
+static void enable_dev(struct device *dev)
{
/* Set the operations if it is a special bus type */
if (dev->path.type == DEVICE_PATH_DOMAIN) {
@@ -72,7 +72,8 @@ struct chip_operations soc_intel_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,