On 06/11/2020 06:57, Jaehoon Chung wrote: > When CONFIG_DM_REGULATOR is disabled, there are some warnings. > This patch-set is fixed them. > > drivers/phy/meson-g12a-usb2.c: In function 'phy_meson_g12a_usb2_power_on': > drivers/phy/meson-g12a-usb2.c:70:35: warning: unused variable 'priv' > [-Wunused-variable] > 70 | struct phy_meson_g12a_usb2_priv *priv = dev_get_priv(dev); > | ^~~~ > drivers/phy/meson-g12a-usb2.c: In function 'phy_meson_g12a_usb2_power_off': > drivers/phy/meson-g12a-usb2.c:86:35: warning: unused variable 'priv' > [-Wunused-variable] > 86 | struct phy_meson_g12a_usb2_priv *priv = dev_get_priv(dev); > | ^~~~ > LD drivers/phy/built-in.o > CC drivers/video/simple_panel.o > CC drivers/video/meson/meson_dw_hdmi.o > drivers/video/meson/meson_dw_hdmi.c: In function 'meson_dw_hdmi_probe': > drivers/video/meson/meson_dw_hdmi.c:382:18: warning: unused variable 'supply' > [-Wunused-variable] > 382 | struct udevice *supply; > | ^~~~~~ > > Jaehoon Chung (2): > phy: meson-g12a-usb2: fix the potential build warning > video: meson: meson_dw_hdmi: fix the potential build warning > > drivers/phy/meson-g12a-usb2.c | 4 ++-- > drivers/video/meson/meson_dw_hdmi.c | 2 ++ > 2 files changed, 4 insertions(+), 2 deletions(-) >
Thanks, Applied to u-boot-amlogic Neil