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-of.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/firmware/google/coreboot_table-of.c') diff --git a/drivers/firmware/google/coreboot_table-of.c b/drivers/firmware/google/coreboot_table-of.c index 727acdc83e83..f15bf404c579 100644 --- a/drivers/firmware/google/coreboot_table-of.c +++ b/drivers/firmware/google/coreboot_table-of.c @@ -34,7 +34,7 @@ static int coreboot_table_of_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_of_remove(struct platform_device *pdev) -- cgit v1.2.3