summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/soc/intel/common/block/graphics/graphics.c2
-rw-r--r--src/soc/intel/common/block/include/intelblocks/graphics.h2
-rw-r--r--src/soc/intel/skylake/graphics.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/soc/intel/common/block/graphics/graphics.c b/src/soc/intel/common/block/graphics/graphics.c
index 55c181b0bd..a6d45c66e1 100644
--- a/src/soc/intel/common/block/graphics/graphics.c
+++ b/src/soc/intel/common/block/graphics/graphics.c
@@ -34,7 +34,7 @@ __weak void graphics_soc_init(struct device *dev)
}
__weak const struct i915_gpu_controller_info *
-intel_igd_get_controller_info(struct device *device)
+intel_igd_get_controller_info(const struct device *device)
{
return NULL;
}
diff --git a/src/soc/intel/common/block/include/intelblocks/graphics.h b/src/soc/intel/common/block/include/intelblocks/graphics.h
index 4187ca10cc..378fdd0567 100644
--- a/src/soc/intel/common/block/include/intelblocks/graphics.h
+++ b/src/soc/intel/common/block/include/intelblocks/graphics.h
@@ -35,7 +35,7 @@ uintptr_t graphics_soc_write_acpi_opregion(const struct device *device,
/* i915 controller info for ACPI backlight controls */
const struct i915_gpu_controller_info *
-intel_igd_get_controller_info(struct device *device);
+intel_igd_get_controller_info(const struct device *device);
/* Graphics MMIO register read/write APIs */
uint32_t graphics_gtt_read(unsigned long reg);
diff --git a/src/soc/intel/skylake/graphics.c b/src/soc/intel/skylake/graphics.c
index 5be398c717..e1f8fbd3c4 100644
--- a/src/soc/intel/skylake/graphics.c
+++ b/src/soc/intel/skylake/graphics.c
@@ -177,7 +177,7 @@ uintptr_t graphics_soc_write_acpi_opregion(const struct device *device,
}
const struct i915_gpu_controller_info *
-intel_igd_get_controller_info(struct device *device)
+intel_igd_get_controller_info(const struct device *device)
{
struct soc_intel_skylake_config *chip = device->chip_info;
return &chip->gfx;