[PATCH 2/2] video: meson: meson_dw_hdmi: fix the potential build warning
Jaehoon Chung
jh80.chung at samsung.com
Fri Nov 6 06:57:48 CET 2020
Fix the potential build warning.
Signed-off-by: Jaehoon Chung <jh80.chung at samsung.com>
---
drivers/video/meson/meson_dw_hdmi.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/video/meson/meson_dw_hdmi.c b/drivers/video/meson/meson_dw_hdmi.c
index 7b2ff94eba58..5d74f7f1a740 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;
--
2.29.0
More information about the U-Boot
mailing list