From 77b93d7dfe7f09ab9d6649794d9ce72def9cefb3 Mon Sep 17 00:00:00 2001 From: Alexander Shiyan Date: Tue, 29 Oct 2013 13:59:17 +0400 Subject: 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 Signed-off-by: Sascha Hauer --- drivers/usb/core/of.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drivers/usb') 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) -- cgit v1.2.3