summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
authorRaul E Rangel <rrangel@chromium.org>2020-04-29 15:55:33 -0600
committerPatrick Georgi <pgeorgi@google.com>2020-05-01 06:30:03 +0000
commitda5e07e6c7a88282e884cd6d2af726196e66cc21 (patch)
tree0da91fcf9dfa4e2f42a9b98be980f901e718a466 /src/soc
parentac08c818369b8dcd21e7529ac50aebe5f4c4608a (diff)
downloadcoreboot-da5e07e6c7a88282e884cd6d2af726196e66cc21.tar.xz
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 <rrangel@chromium.org> Change-Id: I9df70fd5c41a9a68edc7be3c2e920c4dc94d5af9 Reviewed-on: https://review.coreboot.org/c/coreboot/+/40871 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Furquan Shaikh <furquan@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/amd/common/block/graphics/graphics.c2
1 files changed, 1 insertions, 1 deletions
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 <device/pci.h>
#include <device/pci_ids.h>
-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);