From: Jaehoon Chung Date: Fri, 6 Nov 2020 05:57:48 +0000 (+0900) Subject: video: meson: meson_dw_hdmi: fix the potential build warning X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=fe76c4207e4c0d63262896e31123c40d61ce98b5;p=u-boot.git video: meson: meson_dw_hdmi: fix the potential build warning Fix the potential build warning. Signed-off-by: Jaehoon Chung Signed-off-by: Neil Armstrong --- diff --git a/drivers/video/meson/meson_dw_hdmi.c b/drivers/video/meson/meson_dw_hdmi.c index 7b2ff94eba..5d74f7f1a7 100644 --- a/drivers/video/meson/meson_dw_hdmi.c +++ b/drivers/video/meson/meson_dw_hdmi.c @@ -379,7 +379,9 @@ static int meson_dw_hdmi_probe(struct udevice *dev) struct meson_dw_hdmi *priv = dev_get_priv(dev); struct reset_ctl_bulk resets; struct clk_bulk clocks; +#if CONFIG_IS_ENABLED(DM_REGULATOR) struct udevice *supply; +#endif int ret; priv->dev = dev;