summaryrefslogtreecommitdiffstats
path: root/src/soc
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/intel/baytrail/southcluster.c2
-rw-r--r--src/soc/intel/broadwell/lpc.c2
-rw-r--r--src/soc/intel/fsp_baytrail/acpi.c2
-rw-r--r--src/soc/intel/fsp_baytrail/baytrail/acpi.h3
4 files changed, 5 insertions, 4 deletions
diff --git a/src/soc/intel/baytrail/southcluster.c b/src/soc/intel/baytrail/southcluster.c
index 26e01563b24e..ce387c8a85b1 100644
--- a/src/soc/intel/baytrail/southcluster.c
+++ b/src/soc/intel/baytrail/southcluster.c
@@ -513,7 +513,7 @@ void southcluster_enable_dev(device_t dev)
}
}
-static void southcluster_inject_dsdt(void)
+static void southcluster_inject_dsdt(device_t device)
{
global_nvs_t *gnvs;
diff --git a/src/soc/intel/broadwell/lpc.c b/src/soc/intel/broadwell/lpc.c
index 13c975f3f8fe..253dc93483c7 100644
--- a/src/soc/intel/broadwell/lpc.c
+++ b/src/soc/intel/broadwell/lpc.c
@@ -611,7 +611,7 @@ static void pch_lpc_read_resources(device_t dev)
memset(gnvs, 0, sizeof(global_nvs_t));
}
-static void southcluster_inject_dsdt(void)
+static void southcluster_inject_dsdt(device_t device)
{
global_nvs_t *gnvs;
diff --git a/src/soc/intel/fsp_baytrail/acpi.c b/src/soc/intel/fsp_baytrail/acpi.c
index 1a0c0ceddb87..2825773e44f1 100644
--- a/src/soc/intel/fsp_baytrail/acpi.c
+++ b/src/soc/intel/fsp_baytrail/acpi.c
@@ -596,7 +596,7 @@ unsigned long southcluster_write_acpi_tables(unsigned long current,
return current;
}
-void southcluster_inject_dsdt(void)
+void southcluster_inject_dsdt(device_t device)
{
global_nvs_t *gnvs;
diff --git a/src/soc/intel/fsp_baytrail/baytrail/acpi.h b/src/soc/intel/fsp_baytrail/baytrail/acpi.h
index 6798f4549458..1e605086b941 100644
--- a/src/soc/intel/fsp_baytrail/baytrail/acpi.h
+++ b/src/soc/intel/fsp_baytrail/baytrail/acpi.h
@@ -23,6 +23,7 @@
#include <arch/acpi.h>
#include <baytrail/nvs.h>
+#include <device/device.h>
void acpi_create_intel_hpet(acpi_hpet_t * hpet);
void acpi_create_serialio_ssdt(acpi_header_t *ssdt);
@@ -31,6 +32,6 @@ unsigned long acpi_madt_irq_overrides(unsigned long current);
void acpi_init_gnvs(global_nvs_t *gnvs);
unsigned long southcluster_write_acpi_tables(unsigned long current,
struct acpi_rsdp *rsdp);
-void southcluster_inject_dsdt(void);
+void southcluster_inject_dsdt(device_t device);
#endif /* _BAYTRAIL_ACPI_H_ */