Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1459216 > unrolled thread

[PATCH] soc: qcom: smd: Correct compile stub prototypes

Started byBjorn Andersson <bjorn.andersson@linaro.org>
First post2016-08-10 02:40 +0200
Last post2016-08-10 02:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] soc: qcom: smd: Correct compile stub prototypes Bjorn Andersson <bjorn.andersson@linaro.org> - 2016-08-10 02:40 +0200

#1459216 — [PATCH] soc: qcom: smd: Correct compile stub prototypes

FromBjorn Andersson <bjorn.andersson@linaro.org>
Date2016-08-10 02:40 +0200
Subject[PATCH] soc: qcom: smd: Correct compile stub prototypes
Message-ID<s4pIS-6np-9@gated-at.bofh.it>
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>
---
 include/linux/soc/qcom/smd.h | 4 ++--
 1 file 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);
-- 
2.5.0

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web