mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-05 08:26:59 +00:00
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: f79a917e69
("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>
This commit is contained in:
parent
dea8524218
commit
3a12818488
1 changed files with 2 additions and 2 deletions
|
@ -83,14 +83,14 @@ qcom_smd_open_channel(struct qcom_smd_channel *channel,
|
||||||
return NULL;
|
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 */
|
/* This shouldn't be possible */
|
||||||
WARN_ON(1);
|
WARN_ON(1);
|
||||||
return NULL;
|
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 */
|
/* This shouldn't be possible */
|
||||||
WARN_ON(1);
|
WARN_ON(1);
|
||||||
|
|
Loading…
Reference in a new issue