[PATCH 27/30] drm/sti/sti_hdmi: Move 'colorspace_mode_names' array to where its used

Sam Ravnborg sam at ravnborg.org
Thu Nov 12 20:22:04 UTC 2020


Hi Lee,
On Thu, Nov 12, 2020 at 07:00:36PM +0000, Lee Jones wrote:
> Fixes the following W=1 kernel build warning(s):
> 
>  drivers/gpu/drm/sti/sti_hdmi.h:36:40: warning: ‘colorspace_mode_names’ defined but not used [-Wunused-const-variable=]
>  36 | static const struct drm_prop_enum_list colorspace_mode_names[] = {
>  | ^~~~~~~~~~~~~~~~~~~~~
> 
> Cc: Benjamin Gaignard <benjamin.gaignard at linaro.org>
> Cc: Vincent Abriou <vincent.abriou at st.com>
> Cc: David Airlie <airlied at linux.ie>
> Cc: Daniel Vetter <daniel at ffwll.ch>
> Cc: Philipp Zabel <p.zabel at pengutronix.de>
> Cc: dri-devel at lists.freedesktop.org
> Signed-off-by: Lee Jones <lee.jones at linaro.org>

Applied to drm-misc-next,

	Sam


More information about the dri-devel mailing list