linux/drivers/gpu/drm/ingenic
Paul Cercueil 40a55dc13e
drm/ingenic: Silence uninitialized-variable warning
Silence compiler warning about used but uninitialized 'ipu_state'
variable. In practice, the variable would never be used when
uninitialized, but the compiler cannot know that 'priv->ipu_plane' will
always be NULL if CONFIG_INGENIC_IPU is disabled.

Silence the warning by initializing the value to NULL.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200719093834.14084-1-paul@crapouillou.net
2020-07-19 13:03:15 +02:00
..
ingenic-drm-drv.c drm/ingenic: Silence uninitialized-variable warning 2020-07-19 13:03:15 +02:00
ingenic-drm.h drm/ingenic: Add support for the IPU 2020-07-17 00:46:17 +02:00
ingenic-ipu.c drm/ingenic: Add support for the IPU 2020-07-17 00:46:17 +02:00
ingenic-ipu.h drm/ingenic: Add support for the IPU 2020-07-17 00:46:17 +02:00
Kconfig drm/ingenic: Add support for the IPU 2020-07-17 00:46:17 +02:00
Makefile drm/ingenic: Add support for the IPU 2020-07-17 00:46:17 +02:00