diff options
author | Kishon Vijay Abraham I <kishon@ti.com> | 2014-03-06 09:38:37 -0500 |
---|---|---|
committer | Kishon Vijay Abraham I <kishon@ti.com> | 2014-03-09 03:15:08 -0400 |
commit | 14da699bc04212559d5dda19d3f07c807fb58dfd (patch) | |
tree | da70074191e90be6fef4ac02bff16dde3ce45721 /drivers/phy/phy-ti-pipe3.c | |
parent | db68e80f080a21b295f2262976520c40bc505f9d (diff) |
phy: rename struct omap_control_usb to struct omap_control_phy
Rename struct omap_control_usb to struct omap_control_phy since it can
be used to control PHY of USB, SATA and PCIE. Also move the driver and
include files under *phy* and made the corresponding changes in the users
of phy-omap-control.
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Roger Quadros <rogerq@ti.com>
Acked-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/phy/phy-ti-pipe3.c')
-rw-r--r-- | drivers/phy/phy-ti-pipe3.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/phy/phy-ti-pipe3.c b/drivers/phy/phy-ti-pipe3.c index c8d16746a5e2..fd029b14cb3e 100644 --- a/drivers/phy/phy-ti-pipe3.c +++ b/drivers/phy/phy-ti-pipe3.c | |||
@@ -26,7 +26,7 @@ | |||
26 | #include <linux/io.h> | 26 | #include <linux/io.h> |
27 | #include <linux/pm_runtime.h> | 27 | #include <linux/pm_runtime.h> |
28 | #include <linux/delay.h> | 28 | #include <linux/delay.h> |
29 | #include <linux/usb/omap_control_usb.h> | 29 | #include <linux/phy/omap_control_phy.h> |
30 | #include <linux/of_platform.h> | 30 | #include <linux/of_platform.h> |
31 | 31 | ||
32 | #define PLL_STATUS 0x00000004 | 32 | #define PLL_STATUS 0x00000004 |
@@ -134,7 +134,7 @@ static int ti_pipe3_power_off(struct phy *x) | |||
134 | return -EBUSY; | 134 | return -EBUSY; |
135 | } | 135 | } |
136 | 136 | ||
137 | omap_control_usb_phy_power(phy->control_dev, 0); | 137 | omap_control_phy_power(phy->control_dev, 0); |
138 | 138 | ||
139 | return 0; | 139 | return 0; |
140 | } | 140 | } |
@@ -232,7 +232,7 @@ static int ti_pipe3_init(struct phy *x) | |||
232 | if (ret) | 232 | if (ret) |
233 | return ret; | 233 | return ret; |
234 | 234 | ||
235 | omap_control_usb_phy_power(phy->control_dev, 1); | 235 | omap_control_phy_power(phy->control_dev, 1); |
236 | 236 | ||
237 | return 0; | 237 | return 0; |
238 | } | 238 | } |
@@ -304,7 +304,7 @@ static int ti_pipe3_probe(struct platform_device *pdev) | |||
304 | 304 | ||
305 | phy->control_dev = &control_pdev->dev; | 305 | phy->control_dev = &control_pdev->dev; |
306 | 306 | ||
307 | omap_control_usb_phy_power(phy->control_dev, 0); | 307 | omap_control_phy_power(phy->control_dev, 0); |
308 | 308 | ||
309 | platform_set_drvdata(pdev, phy); | 309 | platform_set_drvdata(pdev, phy); |
310 | pm_runtime_enable(phy->dev); | 310 | pm_runtime_enable(phy->dev); |