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>
This commit is contained in:
committed by
Stefan Reinauer
parent
a90dad1bf0
commit
5eea458822
@@ -325,7 +325,7 @@ void acpi_create_ssdt_generator(acpi_header_t *ssdt, const char *oem_table_id)
|
||||
struct device *dev;
|
||||
for (dev = all_devices; dev; dev = dev->next)
|
||||
if (dev->ops && dev->ops->acpi_fill_ssdt_generator) {
|
||||
dev->ops->acpi_fill_ssdt_generator();
|
||||
dev->ops->acpi_fill_ssdt_generator(dev);
|
||||
}
|
||||
current = (unsigned long) acpigen_get_current();
|
||||
}
|
||||
|
@@ -29,6 +29,7 @@
|
||||
|
||||
#include <stdint.h>
|
||||
#include <rules.h>
|
||||
#include <device/device.h>
|
||||
|
||||
#define RSDP_SIG "RSD PTR " /* RSDT pointer signature */
|
||||
#define ACPI_TABLE_CREATOR "COREBOOT" /* Must be exactly 8 bytes long! */
|
||||
@@ -539,7 +540,7 @@ void acpi_create_hpet(acpi_hpet_t *hpet);
|
||||
unsigned long acpi_write_hpet(unsigned long start, acpi_rsdp_t *rsdp);
|
||||
|
||||
/* cpu/intel/speedstep/acpi.c */
|
||||
void generate_cpu_entries(void);
|
||||
void generate_cpu_entries(device_t device);
|
||||
#endif
|
||||
|
||||
void acpi_create_mcfg(acpi_mcfg_t *mcfg);
|
||||
|
Reference in New Issue
Block a user