aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/soc/qcom
diff options
context:
space:
mode:
authorBjorn Andersson <bjorn.andersson@linaro.org>2016-08-09 17:36:02 -0700
committerAndy Gross <andy.gross@linaro.org>2016-08-23 15:46:32 -0500
commit3a1281848830fcb3202cfd7ffe62d19641471d05 (patch)
tree1c953956c6215f3315c03b2375dd8a2b7907e374 /include/linux/soc/qcom
parentfirmware: qcom_scm: make it explicitly non-modular (diff)
downloadwireguard-linux-3a1281848830fcb3202cfd7ffe62d19641471d05.tar.xz
wireguard-linux-3a1281848830fcb3202cfd7ffe62d19641471d05.zip
soc: qcom: smd: Correct compile stub prototypes
The prototypes for the compile stubs was not properly marked as static inline, this patch corrects this. Fixes: f79a917e69e1 ("Merge tag 'qcom-soc-for-4.7-2' into net-next") Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: Andy Gross <andy.gross@linaro.org>
Diffstat (limited to 'include/linux/soc/qcom')
-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,
return NULL;
}
-void *qcom_smd_get_drvdata(struct qcom_smd_channel *channel)
+static inline void *qcom_smd_get_drvdata(struct qcom_smd_channel *channel)
{
/* This shouldn't be possible */
WARN_ON(1);
return NULL;
}
-void qcom_smd_set_drvdata(struct qcom_smd_channel *channel, void *data)
+static inline void qcom_smd_set_drvdata(struct qcom_smd_channel *channel, void *data)
{
/* This shouldn't be possible */
WARN_ON(1);