Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3a128184 authored by Bjorn Andersson's avatar Bjorn Andersson Committed by Andy Gross
Browse files

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: f79a917e ("Merge tag 'qcom-soc-for-4.7-2' into net-next")
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: default avatarAndy Gross <andy.gross@linaro.org>
parent dea85242
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);