summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2015-04-12 22:18:55 +0200
committerStefan Reinauer <stefan.reinauer@coreboot.org>2015-06-05 21:11:43 +0200
commit5eea458822d394fd65a9b69f0b5b8e33c75065a8 (patch)
tree18a34c6ca29bbc65dd47acefb0786fa2dc044f34 /src/mainboard
parenta90dad1bf08d528407b4a6aee031b5b859c60487 (diff)
device_ops: add device_t argument to acpi_fill_ssdt_generator
`device_t device` is missing as argument. Every device_op function should have a `device_t device` argument. Change-Id: I7fca8c3fa15c1be672e50e4422d7ac8e4aaa1e36 Signed-off-by: Alexander Couzens <lynxis@fe80.eu> Reviewed-on: http://review.coreboot.org/9598 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/lenovo/x200/mainboard.c2
-rw-r--r--src/mainboard/lenovo/x201/mainboard.c2
-rw-r--r--src/mainboard/lenovo/x60/mainboard.c2
-rw-r--r--src/mainboard/tyan/s2891/mainboard.c2
-rw-r--r--src/mainboard/tyan/s2892/mainboard.c2
-rw-r--r--src/mainboard/tyan/s2895/mainboard.c2
-rw-r--r--src/mainboard/winent/mb6047/mainboard.c2
7 files changed, 7 insertions, 7 deletions
diff --git a/src/mainboard/lenovo/x200/mainboard.c b/src/mainboard/lenovo/x200/mainboard.c
index 3ec615fe00..4fb2baf206 100644
--- a/src/mainboard/lenovo/x200/mainboard.c
+++ b/src/mainboard/lenovo/x200/mainboard.c
@@ -32,7 +32,7 @@
#include <ec/lenovo/h8/h8.h>
#include "drivers/lenovo/lenovo.h"
-static void fill_ssdt(void)
+static void fill_ssdt(device_t device)
{
drivers_lenovo_serial_ports_ssdt_generate("\\_SB.PCI0.LPCB", 0);
}
diff --git a/src/mainboard/lenovo/x201/mainboard.c b/src/mainboard/lenovo/x201/mainboard.c
index a4da528a93..62e4fc9a62 100644
--- a/src/mainboard/lenovo/x201/mainboard.c
+++ b/src/mainboard/lenovo/x201/mainboard.c
@@ -87,7 +87,7 @@ static void mainboard_init(device_t dev)
printk(BIOS_SPEW, "SPI configured\n");
}
-static void fill_ssdt(void)
+static void fill_ssdt(device_t device)
{
drivers_lenovo_serial_ports_ssdt_generate("\\_SB.PCI0.LPCB", 0);
}
diff --git a/src/mainboard/lenovo/x60/mainboard.c b/src/mainboard/lenovo/x60/mainboard.c
index fbab0f1b2f..b137aaac21 100644
--- a/src/mainboard/lenovo/x60/mainboard.c
+++ b/src/mainboard/lenovo/x60/mainboard.c
@@ -99,7 +99,7 @@ static void mainboard_init(device_t dev)
}
}
-static void fill_ssdt(void)
+static void fill_ssdt(device_t device)
{
drivers_lenovo_serial_ports_ssdt_generate("\\_SB.PCI0.LPCB", 1);
}
diff --git a/src/mainboard/tyan/s2891/mainboard.c b/src/mainboard/tyan/s2891/mainboard.c
index 9a8dd906a8..10d99a29d3 100644
--- a/src/mainboard/tyan/s2891/mainboard.c
+++ b/src/mainboard/tyan/s2891/mainboard.c
@@ -6,7 +6,7 @@
#include <arch/acpigen.h>
#include <cpu/amd/amdk8_sysconf.h>
-static void mainboard_acpi_fill_ssdt_generator(void) {
+static void mainboard_acpi_fill_ssdt_generator(device_t device) {
amd_generate_powernow(0, 0, 0);
}
diff --git a/src/mainboard/tyan/s2892/mainboard.c b/src/mainboard/tyan/s2892/mainboard.c
index 9a8dd906a8..10d99a29d3 100644
--- a/src/mainboard/tyan/s2892/mainboard.c
+++ b/src/mainboard/tyan/s2892/mainboard.c
@@ -6,7 +6,7 @@
#include <arch/acpigen.h>
#include <cpu/amd/amdk8_sysconf.h>
-static void mainboard_acpi_fill_ssdt_generator(void) {
+static void mainboard_acpi_fill_ssdt_generator(device_t device) {
amd_generate_powernow(0, 0, 0);
}
diff --git a/src/mainboard/tyan/s2895/mainboard.c b/src/mainboard/tyan/s2895/mainboard.c
index 604df5100f..e62b95ec8f 100644
--- a/src/mainboard/tyan/s2895/mainboard.c
+++ b/src/mainboard/tyan/s2895/mainboard.c
@@ -8,7 +8,7 @@
extern u16 pm_base;
-static void mainboard_acpi_fill_ssdt_generator(void) {
+static void mainboard_acpi_fill_ssdt_generator(device_t device) {
amd_generate_powernow(0, 0, 0);
}
diff --git a/src/mainboard/winent/mb6047/mainboard.c b/src/mainboard/winent/mb6047/mainboard.c
index 9a8dd906a8..10d99a29d3 100644
--- a/src/mainboard/winent/mb6047/mainboard.c
+++ b/src/mainboard/winent/mb6047/mainboard.c
@@ -6,7 +6,7 @@
#include <arch/acpigen.h>
#include <cpu/amd/amdk8_sysconf.h>
-static void mainboard_acpi_fill_ssdt_generator(void) {
+static void mainboard_acpi_fill_ssdt_generator(device_t device) {
amd_generate_powernow(0, 0, 0);
}