summaryrefslogtreecommitdiff
path: root/src/soc/intel
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2015-04-12 21:49:46 +0200
committerStefan Reinauer <stefan.reinauer@coreboot.org>2015-06-05 21:11:14 +0200
commita90dad1bf08d528407b4a6aee031b5b859c60487 (patch)
tree9f6ba7ffed4be06d07e0b1212aa42d4fc2361105 /src/soc/intel
parent113ef81bf47872350195c8bad21dbf54c4ba1019 (diff)
downloadcoreboot-a90dad1bf08d528407b4a6aee031b5b859c60487.tar.xz
device_ops: add device_t argument to acpi_inject_dsdt_generator
`device_t device` is missing as argument. Every device_op function should have a `device_t device` argument. Change-Id: I3fc8e0339fa46fe92cc39f7afa896ffd38c26c8d Signed-off-by: Alexander Couzens <lynxis@fe80.eu> Reviewed-on: http://review.coreboot.org/9597 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/soc/intel')
-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 26e01563b2..ce387c8a85 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 13c975f3f8..253dc93483 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 1a0c0ceddb..2825773e44 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 6798f45494..1e605086b9 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_ */