summaryrefslogtreecommitdiffstats
path: root/drivers/usb/core
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2013-10-29 13:59:17 +0400
committerSascha Hauer <s.hauer@pengutronix.de>2013-10-30 09:52:42 +0100
commit77b93d7dfe7f09ab9d6649794d9ce72def9cefb3 (patch)
tree5fd659855df53b3c326f5795f1c2add67a9d419d /drivers/usb/core
parentd58d569d0b0507bbfa97bfc3e85178e733e378b4 (diff)
downloadbarebox-77b93d7dfe7f09ab9d6649794d9ce72def9cefb3.tar.gz
barebox-77b93d7dfe7f09ab9d6649794d9ce72def9cefb3.tar.xz
USB: i.MX: Make DT dr_mode & phy_type parameters kernel compatible
Since the mainline kernel now has its own dr_mode and phy_type DT-options for setting modes of USB ports, do these kernel parameters compatible by removing "barebox" prefix. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/usb/core')
-rw-r--r--drivers/usb/core/of.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/core/of.c b/drivers/usb/core/of.c
index 222b7600c7..1ddbdaab0f 100644
--- a/drivers/usb/core/of.c
+++ b/drivers/usb/core/of.c
@@ -39,7 +39,7 @@ enum usb_dr_mode of_usb_get_dr_mode(struct device_node *np,
int err, i;
if (!propname)
- propname = "barebox,dr_mode";
+ propname = "dr_mode";
err = of_property_read_string(np, propname, &dr_mode);
if (err < 0)
@@ -76,7 +76,7 @@ enum usb_phy_interface of_usb_get_phy_mode(struct device_node *np,
int err, i;
if (!propname)
- propname = "barebox,phy_type";
+ propname = "phy_type";
err = of_property_read_string(np, propname, &phy_type);
if (err < 0)