From: Bjorn Andersson Date: Wed, 11 Jan 2017 14:32:17 +0000 (+0200) Subject: soc: qcom: smem_state: Fix include for ERR_PTR() X-Git-Tag: rel_imx_4.19.35_1.1.0~13127^2~264^2^2~36 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=6c0b2e833f1439ebcbd7258b655623c1aef23ffb;p=linux.git 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 Signed-off-by: Bjorn Andersson Signed-off-by: Kalle Valo --- 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 +#include struct device_node; struct qcom_smem_state;