From mboxrd@z Thu Jan 1 00:00:00 1970 From: Guenter Roeck Subject: Re: [PATCH] qcom-scm: Include header Date: Fri, 4 Jan 2019 13:15:37 -0800 Message-ID: <20190104211537.GA19545@roeck-us.net> References: <20181226120619.18879-1-festevam@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20181226120619.18879-1-festevam@gmail.com> Sender: linux-kernel-owner@vger.kernel.org To: Fabio Estevam Cc: robdclark@gmail.com, jonathan@marek.ca, dri-devel@lists.freedesktop.org, bjorn.andersson@linaro.org, andy.gross@linaro.org, shawnguo@kernel.org, cphealy@gmail.com, linux-kernel@vger.kernel.org, freedreno@lists.freedesktop.org, linux-arm-msm@vger.kernel.org List-Id: linux-arm-msm@vger.kernel.org On Wed, Dec 26, 2018 at 10:06:19AM -0200, Fabio Estevam wrote: > 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 header file to fix this problem. > > Reported-by: kernelci.org bot > Fixes: e6f6d63ed14c ("drm/msm: add headless gpu device for imx5") > Signed-off-by: Fabio Estevam > Reviewed-by: Bjorn Andersson Tested-by: Guenter Roeck Still broken upstream, and the commit window is about to close. Any chance to send this patch upstream anytime soon ? Guenter > --- > include/linux/qcom_scm.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/linux/qcom_scm.h b/include/linux/qcom_scm.h > index 06996ad4f2bc..ce5a476fd733 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 > #include > #include >