soc: qcom: smd: Correct compile stub prototypes
authorBjorn Andersson <bjorn.andersson@linaro.org>
Wed, 10 Aug 2016 00:36:02 +0000 (17:36 -0700)
committerAndy Gross <andy.gross@linaro.org>
Tue, 23 Aug 2016 20:46:32 +0000 (15:46 -0500)
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>
include/linux/soc/qcom/smd.h

index cbb0f06..910ce1d 100644 (file)
@@ -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);