projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
usb: phy: mxs: declare variable with initialized value
[cascardo/linux.git]
/
drivers
/
usb
/
phy
/
phy-mxs-usb.c
diff --git
a/drivers/usb/phy/phy-mxs-usb.c
b/drivers/usb/phy/phy-mxs-usb.c
index
c2936dc
..
00bfea0
100644
(file)
--- a/
drivers/usb/phy/phy-mxs-usb.c
+++ b/
drivers/usb/phy/phy-mxs-usb.c
@@
-220,7
+220,7
@@
static int mxs_phy_hw_init(struct mxs_phy *mxs_phy)
/* Return true if the vbus is there */
static bool mxs_phy_get_vbus_status(struct mxs_phy *mxs_phy)
{
- unsigned int vbus_value;
+ unsigned int vbus_value
= 0
;
if (!mxs_phy->regmap_anatop)
return false;