From da5e07e6c7a88282e884cd6d2af726196e66cc21 Mon Sep 17 00:00:00 2001 From: Raul E Rangel Date: Wed, 29 Apr 2020 15:55:33 -0600 Subject: [PATCH] soc/amd/common/block/graphics/graphics: Add missing const to fill_ssdt BUG=none TEST=Made sure trembyle builds Signed-off-by: Raul E Rangel Change-Id: I9df70fd5c41a9a68edc7be3c2e920c4dc94d5af9 Reviewed-on: https://review.coreboot.org/c/coreboot/+/40871 Reviewed-by: Aaron Durbin Reviewed-by: Furquan Shaikh Tested-by: build bot (Jenkins) --- src/soc/amd/common/block/graphics/graphics.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/soc/amd/common/block/graphics/graphics.c b/src/soc/amd/common/block/graphics/graphics.c index a40aadd256..6715a43296 100644 --- a/src/soc/amd/common/block/graphics/graphics.c +++ b/src/soc/amd/common/block/graphics/graphics.c @@ -5,7 +5,7 @@ #include #include -static void graphics_fill_ssdt(struct device *dev) +static void graphics_fill_ssdt(const struct device *dev) { acpi_device_write_pci_dev(dev); pci_rom_ssdt(dev);