summaryrefslogtreecommitdiff
path: root/include/linux/mhi.h
diff options
context:
space:
mode:
authorLoic Poulain <loic.poulain@linaro.org>2021-01-05 17:44:35 +0100
committerManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>2021-01-21 13:05:53 +0530
commitfcba4b2047a31a55e1cef73849363a3cf7c2736d (patch)
treed79cf7f7e4b114ad518a08e67007dd9abc39c426 /include/linux/mhi.h
parentf49b6aeb5c45dea3a1b6ee6a842599147dfd5929 (diff)
mhi: unconstify mhi_event_config
Some parameters may have to be determined at runtime. It is the case for the event ring MSI vector. Signed-off-by: Loic Poulain <loic.poulain@linaro.org> Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Diffstat (limited to 'include/linux/mhi.h')
-rw-r--r--include/linux/mhi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mhi.h b/include/linux/mhi.h
index 54afcae1709a..48f5c9168ae0 100644
--- a/include/linux/mhi.h
+++ b/include/linux/mhi.h
@@ -279,7 +279,7 @@ struct mhi_controller_config {
u32 num_channels;
const struct mhi_channel_config *ch_cfg;
u32 num_events;
- const struct mhi_event_config *event_cfg;
+ struct mhi_event_config *event_cfg;
bool use_bounce_buf;
bool m2_no_db;
};