Commit 6c0b2e83 authored by Bjorn Andersson's avatar Bjorn Andersson Committed by Kalle Valo

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: e8b123e6 ("soc: qcom: smem_state: Add stubs for disabled smem_state")
Acked-by: default avatarAndy Gross <andy.gross@linaro.org>
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
parent a505e582
#ifndef __QCOM_SMEM_STATE__
#define __QCOM_SMEM_STATE__
#include <linux/errno.h>
#include <linux/err.h>
struct device_node;
struct qcom_smem_state;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment