diff options
author | Bjorn Andersson <bjorn.andersson@linaro.org> | 2017-01-11 17:32:17 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2017-01-12 13:43:41 +0300 |
commit | 6c0b2e833f1439ebcbd7258b655623c1aef23ffb (patch) | |
tree | 9259fa21758a63605b663cd2ef33eb4f3a5604f8 /include/linux/soc/qcom/smem_state.h | |
parent | a505e58252715bbc18a0ee1abae23615fe2586db (diff) | |
download | linux-6c0b2e833f1439ebcbd7258b655623c1aef23ffb.tar.xz |
soc: qcom: smem_state: Fix include for ERR_PTR()
The correct include file for getting errno constants and ERR_PTR() is
linux/err.h, rather than linux/errno.h, so fix the include.
Fixes: e8b123e60084 ("soc: qcom: smem_state: Add stubs for disabled smem_state")
Acked-by: Andy Gross <andy.gross@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'include/linux/soc/qcom/smem_state.h')
-rw-r--r-- | include/linux/soc/qcom/smem_state.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/soc/qcom/smem_state.h b/include/linux/soc/qcom/smem_state.h index 7b88697929e9..b8478ee7a71f 100644 --- a/include/linux/soc/qcom/smem_state.h +++ b/include/linux/soc/qcom/smem_state.h @@ -1,7 +1,7 @@ #ifndef __QCOM_SMEM_STATE__ #define __QCOM_SMEM_STATE__ -#include <linux/errno.h> +#include <linux/err.h> struct device_node; struct qcom_smem_state; |