summaryrefslogtreecommitdiff
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-06 18:47:58 +0530
commita7209009f885d5ce5841227d845b89e38e87d1ca (patch)
treeda454f8d8db03f14e6b297bc891633d835ac7d1c
parentb965e1c78d9caecb29016d13d27ccaa1a41fd755 (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>
-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 209b3358528c..fe6555496e27 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;
};