aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/linux/soc/qcom/smd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/soc/qcom/smd.h b/include/linux/soc/qcom/smd.h
index cbb0f06c41b2..910ce1d9ba89 100644
--- a/include/linux/soc/qcom/smd.h
+++ b/include/linux/soc/qcom/smd.h
@@ -83,14 +83,14 @@ qcom_smd_open_channel(struct qcom_smd_channel *channel,
83 return NULL; 83 return NULL;
84} 84}
85 85
86void *qcom_smd_get_drvdata(struct qcom_smd_channel *channel) 86static inline void *qcom_smd_get_drvdata(struct qcom_smd_channel *channel)
87{ 87{
88 /* This shouldn't be possible */ 88 /* This shouldn't be possible */
89 WARN_ON(1); 89 WARN_ON(1);
90 return NULL; 90 return NULL;
91} 91}
92 92
93void qcom_smd_set_drvdata(struct qcom_smd_channel *channel, void *data) 93static inline void qcom_smd_set_drvdata(struct qcom_smd_channel *channel, void *data)
94{ 94{
95 /* This shouldn't be possible */ 95 /* This shouldn't be possible */
96 WARN_ON(1); 96 WARN_ON(1);