aboutsummaryrefslogtreecommitdiff
path: root/drivers/accel
diff options
context:
space:
mode:
authorGravatar Jeff Johnson <quic_jjohnson@quicinc.com> 2024-02-22 17:06:38 -0800
committerGravatar Jeffrey Hugo <quic_jhugo@quicinc.com> 2024-02-23 09:06:50 -0700
commit155ad86b5eca49e1f9716d13d88f2db13e5a5b19 (patch)
tree8d51d3d807d2b73bfef30c24d44dae603d1c2355 /drivers/accel
parentdrm/dp: add an API to indicate if sink supports VSC SDP (diff)
downloadlinux-155ad86b5eca49e1f9716d13d88f2db13e5a5b19.tar.gz
linux-155ad86b5eca49e1f9716d13d88f2db13e5a5b19.tar.bz2
linux-155ad86b5eca49e1f9716d13d88f2db13e5a5b19.zip
accel/qaic: Constify aic100_channels
MHI allows the channel configs to be const, so constify aic100_channels to prevent runtime modification. Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com> Reviewed-by: Jeffrey Hugo <quic_jhugo@quicinc.com> Signed-off-by: Jeffrey Hugo <quic_jhugo@quicinc.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240222-mhi-const-accel-qaic-v1-1-028db0dd9098@quicinc.com
Diffstat (limited to 'drivers/accel')
-rw-r--r--drivers/accel/qaic/mhi_controller.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/accel/qaic/mhi_controller.c b/drivers/accel/qaic/mhi_controller.c
index 51cb85d0387b..ada9b1eb0787 100644
--- a/drivers/accel/qaic/mhi_controller.c
+++ b/drivers/accel/qaic/mhi_controller.c
@@ -20,7 +20,7 @@ static unsigned int mhi_timeout_ms = 2000; /* 2 sec default */
module_param(mhi_timeout_ms, uint, 0600);
MODULE_PARM_DESC(mhi_timeout_ms, "MHI controller timeout value");
-static struct mhi_channel_config aic100_channels[] = {
+static const struct mhi_channel_config aic100_channels[] = {
{
.name = "QAIC_LOOPBACK",
.num = 0,