diff options
author | Paul Cercueil <paul@crapouillou.net> | 2020-07-19 11:38:34 +0200 |
---|---|---|
committer | Paul Cercueil <paul@crapouillou.net> | 2020-07-19 13:03:15 +0200 |
commit | 40a55dc13e9dfa3a9575fd95633733554f4cde67 (patch) | |
tree | 0bc9c42901e257163d67462f7ecfd937f5faa1fd /include/drm/drm_bridge.h | |
parent | a786e8cab152da7ec8b9859da6e77cb59c7fa789 (diff) | |
download | linux-40a55dc13e9dfa3a9575fd95633733554f4cde67.tar.gz linux-40a55dc13e9dfa3a9575fd95633733554f4cde67.tar.bz2 linux-40a55dc13e9dfa3a9575fd95633733554f4cde67.zip |
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
Diffstat (limited to 'include/drm/drm_bridge.h')
0 files changed, 0 insertions, 0 deletions