aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firmware/google/coreboot_table-of.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/firmware/google/coreboot_table-of.c')
-rw-r--r--drivers/firmware/google/coreboot_table-of.c2
1 files changed, 1 insertions, 1 deletions
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)
34 if (!ptr) 34 if (!ptr)
35 return -ENOMEM; 35 return -ENOMEM;
36 36
37 return coreboot_table_init(ptr); 37 return coreboot_table_init(&pdev->dev, ptr);
38} 38}
39 39
40static int coreboot_table_of_remove(struct platform_device *pdev) 40static int coreboot_table_of_remove(struct platform_device *pdev)