浏览代码

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>
Bjorn Andersson 8 年之前
父节点
当前提交
6c0b2e833f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      include/linux/soc/qcom/smem_state.h

+ 1 - 1
include/linux/soc/qcom/smem_state.h

@@ -1,7 +1,7 @@
 #ifndef __QCOM_SMEM_STATE__
 #ifndef __QCOM_SMEM_STATE__
 #define __QCOM_SMEM_STATE__
 #define __QCOM_SMEM_STATE__
 
 
-#include <linux/errno.h>
+#include <linux/err.h>
 
 
 struct device_node;
 struct device_node;
 struct qcom_smem_state;
 struct qcom_smem_state;