diff options
author | Fabio Estevam <festevam@gmail.com> | 2018-12-26 10:06:19 -0200 |
---|---|---|
committer | Andy Gross <andy.gross@linaro.org> | 2019-01-10 17:04:45 -0600 |
commit | 2076607a20bd4dfba699185616cbbbce06d3fa59 (patch) | |
tree | 6269c6a9b3a52600ff2f4f7c71b91c101ec23691 | |
parent | bfeffd155283772bbe78c6a05dec7c0128ee500c (diff) | |
download | linux-stable-2076607a20bd4dfba699185616cbbbce06d3fa59.tar.gz linux-stable-2076607a20bd4dfba699185616cbbbce06d3fa59.tar.bz2 linux-stable-2076607a20bd4dfba699185616cbbbce06d3fa59.zip |
qcom-scm: Include <linux/err.h> header
Since commit e6f6d63ed14c ("drm/msm: add headless gpu device for imx5")
the DRM_MSM symbol can be selected by SOC_IMX5 causing the following
error when building imx_v6_v7_defconfig:
In file included from ../drivers/gpu/drm/msm/adreno/a5xx_gpu.c:17:0:
../include/linux/qcom_scm.h: In function 'qcom_scm_set_cold_boot_addr':
../include/linux/qcom_scm.h:73:10: error: 'ENODEV' undeclared (first use in this function)
return -ENODEV;
Include the <linux/err.h> header file to fix this problem.
Reported-by: kernelci.org bot <bot@kernelci.org>
Fixes: e6f6d63ed14c ("drm/msm: add headless gpu device for imx5")
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
-rw-r--r-- | include/linux/qcom_scm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/qcom_scm.h b/include/linux/qcom_scm.h index 1637385bcc17..d0aecc04c54b 100644 --- a/include/linux/qcom_scm.h +++ b/include/linux/qcom_scm.h @@ -13,6 +13,7 @@ #ifndef __QCOM_SCM_H #define __QCOM_SCM_H +#include <linux/err.h> #include <linux/types.h> #include <linux/cpumask.h> |