[PATCH 1/1] staging: imx-drm: Fix build error

Fabio Estevam festevam at gmail.com
Wed Jan 29 02:13:29 UTC 2014


On Tue, Jan 28, 2014 at 3:03 AM, Sachin Kamat <sachin.kamat at linaro.org> wrote:
> Instead of redefining the enums, use the standard ones already
> available to avoid the following build errors:
>
> drivers/staging/imx-drm/imx-hdmi.c:56:13: error: nested redefinition of ‘enum hdmi_colorimetry’
> drivers/staging/imx-drm/imx-hdmi.c:56:13: error: redeclaration of ‘enum hdmi_colorimetry’
> In file included from include/drm/drm_crtc.h:33:0,
>                  from include/drm/drmP.h:710,
>                  from drivers/staging/imx-drm/imx-hdmi.c:24:
> include/linux/hdmi.h:48:6: note: originally defined here
>
> Signed-off-by: Sachin Kamat <sachin.kamat at linaro.org>
> Cc: Guennadi Liakhovetski <g.liakhovetski at gmx.de>
> Cc: Fabio Estevam <fabio.estevam at freescale.com>

Reviewed-by: Fabio Estevam <fabio.estevam at freescale.com>


More information about the devel mailing list