From a582be6e6699b69b9e16905f7db0617e71c12c35 Mon Sep 17 00:00:00 2001 From: Tao Huang Date: Tue, 9 Jun 2020 14:25:09 +0800 Subject: [PATCH] phy: rockchip: inno-usb2: Initialize in stack clk_init_data to 0 This allows adding fields to clk_init_data without having to explicitly set those fields in all the drivers. Fixes: 2071154513ec ("ANDROID: GKI: clk: Initialize in stack clk_init_data to 0 in all drivers") Change-Id: I382ee237c596e79e29bf6c4b13a4dc6c0c94344f Signed-off-by: Tao Huang --- drivers/phy/rockchip/phy-rockchip-inno-usb2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/phy/rockchip/phy-rockchip-inno-usb2.c b/drivers/phy/rockchip/phy-rockchip-inno-usb2.c index a2393706d91c..b2f72da939bb 100644 --- a/drivers/phy/rockchip/phy-rockchip-inno-usb2.c +++ b/drivers/phy/rockchip/phy-rockchip-inno-usb2.c @@ -392,7 +392,7 @@ static int rockchip_usb2phy_clk480m_register(struct rockchip_usb2phy *rphy) { struct device_node *node = rphy->dev->of_node; - struct clk_init_data init; + struct clk_init_data init = {}; const char *clk_name; int ret;