summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>2013-11-15 10:35:12 +0200
committerFelipe Balbi <balbi@ti.com>2013-11-25 10:25:59 -0600
commit37cfbc42887fbd4ff0f4c520c9f3fdea9e6f2a82 (patch)
tree35a2dde6988abe2d89ce37c9300a52d4a8413aa4 /drivers/usb
parentdc52c57411ccad276af6b4f35a670773110b35c5 (diff)
usb: phy: generic: fix a compiler warning
Just because it annoys me. Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/phy/phy-generic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/phy/phy-generic.c b/drivers/usb/phy/phy-generic.c
index 8ee37f40355..2d135b09c05 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;