diff options
author | Jaehoon Chung <jh80.chung@samsung.com> | 2020-11-06 14:57:48 +0900 |
---|---|---|
committer | Neil Armstrong <narmstrong@baylibre.com> | 2020-11-12 14:27:38 +0100 |
commit | fe76c4207e4c0d63262896e31123c40d61ce98b5 (patch) | |
tree | 550007baf1b26216ea28d68ff7722a4689edfc7b /drivers/video | |
parent | 85c9a7ba8c8dcac3fc01bd6af21a93b65d496621 (diff) | |
download | u-boot-fe76c4207e4c0d63262896e31123c40d61ce98b5.tar.gz |
video: meson: meson_dw_hdmi: fix the potential build warning
Fix the potential build warning.
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/meson/meson_dw_hdmi.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |