usb: phy: generic: fix a compiler warning
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>
Fri, 15 Nov 2013 08:35:12 +0000 (10:35 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 25 Nov 2013 16:25:59 +0000 (10:25 -0600)
Just because it annoys me.

Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/phy/phy-generic.c

index 8ee37f4..2d135b0 100644 (file)
@@ -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;