mirror of
https://github.com/immortalwrt/immortalwrt.git
synced 2025-08-11 06:11:53 +08:00

This is an automatically generated commit which aids following Kernel patch history, as git will see the move and copy as a rename thus defeating the purpose. For the original discussion see: https://lists.openwrt.org/pipermail/openwrt-devel/2023-October/041673.html Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Link: https://github.com/openwrt/openwrt/pull/16547 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
29 lines
1.2 KiB
Diff
29 lines
1.2 KiB
Diff
From 2f5e59d70566902d7b4e13c6af3f042f5d28b78b Mon Sep 17 00:00:00 2001
|
|
From: Jeff Johnson <quic_jjohnson@quicinc.com>
|
|
Date: Thu, 22 Feb 2024 18:00:23 -0800
|
|
Subject: [PATCH 2/2] bus: mhi: host: pci_generic: constify
|
|
modem_telit_fn980_hw_v1_config
|
|
|
|
MHI expects the controller configs to be const, and all of the other ones
|
|
in this file already are, so constify modem_telit_fn980_hw_v1_config.
|
|
|
|
Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
|
|
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
|
|
Link: https://lore.kernel.org/r/20240222-mhi-const-bus-mhi-host-pci_generic-v1-1-d4c9b0b0a7a5@quicinc.com
|
|
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
|
|
---
|
|
drivers/bus/mhi/host/pci_generic.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/drivers/bus/mhi/host/pci_generic.c
|
|
+++ b/drivers/bus/mhi/host/pci_generic.c
|
|
@@ -538,7 +538,7 @@ static struct mhi_event_config mhi_telit
|
|
MHI_EVENT_CONFIG_HW_DATA(2, 2048, 101)
|
|
};
|
|
|
|
-static struct mhi_controller_config modem_telit_fn980_hw_v1_config = {
|
|
+static const struct mhi_controller_config modem_telit_fn980_hw_v1_config = {
|
|
.max_channels = 128,
|
|
.timeout_ms = 20000,
|
|
.num_channels = ARRAY_SIZE(mhi_telit_fn980_hw_v1_channels),
|