From 570d30c2823fd4a29c220961885529bc36d27d24 Mon Sep 17 00:00:00 2001 From: Samuel Holland Date: Wed, 24 Jan 2018 19:41:16 -0600 Subject: firmware: coreboot: Expose the coreboot table as a bus This simplifies creating device drivers for hardware or information described in the coreboot table. It also avoids needing to search through the table every time a driver is loaded. Signed-off-by: Samuel Holland Signed-off-by: Greg Kroah-Hartman --- drivers/firmware/google/coreboot_table-acpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/firmware/google/coreboot_table-acpi.c') diff --git a/drivers/firmware/google/coreboot_table-acpi.c b/drivers/firmware/google/coreboot_table-acpi.c index fb98db2d20e2..77197fe3d42f 100644 --- a/drivers/firmware/google/coreboot_table-acpi.c +++ b/drivers/firmware/google/coreboot_table-acpi.c @@ -53,7 +53,7 @@ static int coreboot_table_acpi_probe(struct platform_device *pdev) if (!ptr) return -ENOMEM; - return coreboot_table_init(ptr); + return coreboot_table_init(&pdev->dev, ptr); } static int coreboot_table_acpi_remove(struct platform_device *pdev) -- cgit v1.2.3