From: Heikki Krogerus Date: Fri, 15 Nov 2013 08:35:12 +0000 (+0200) Subject: usb: phy: generic: fix a compiler warning X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=37cfbc42887fbd4ff0f4c520c9f3fdea9e6f2a82;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git usb: phy: generic: fix a compiler warning Just because it annoys me. Signed-off-by: Heikki Krogerus Signed-off-by: Felipe Balbi --- diff --git a/drivers/usb/phy/phy-generic.c b/drivers/usb/phy/phy-generic.c index 8ee37f403553..2d135b09c051 100644 --- a/drivers/usb/phy/phy-generic.c +++ b/drivers/usb/phy/phy-generic.c @@ -162,7 +162,7 @@ int usb_phy_gen_create_phy(struct device *dev, struct usb_phy_gen_xceiv *nop, if (dev->of_node) { struct device_node *node = dev->of_node; - enum of_gpio_flags flags; + enum of_gpio_flags flags = 0; if (of_property_read_u32(node, "clock-frequency", &clk_rate)) clk_rate = 0;