diff options
author | Kishon Vijay Abraham I <kishon@ti.com> | 2014-03-03 06:38:14 -0500 |
---|---|---|
committer | Kishon Vijay Abraham I <kishon@ti.com> | 2014-03-07 11:21:45 -0500 |
commit | 6284be23db6b32e17ef34d082386967350d10d1a (patch) | |
tree | 4bcc27e9b3aac037941362c0efc709bb16036e1a | |
parent | 8cf7651f7046aa4e20bb98c36bec3ddba48351f9 (diff) |
phy: omap-usb2: move omap_usb.h from linux/usb/ to linux/phy/
No functional change. Moved omap_usb.h from linux/usb/ to linux/phy/.
Also removed the unused members of struct omap_usb (after phy-omap-pipe3
started using it's own header file)
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
-rw-r--r-- | drivers/phy/phy-omap-usb2.c | 2 | ||||
-rw-r--r-- | drivers/usb/phy/phy-twl6030-usb.c | 2 | ||||
-rw-r--r-- | include/linux/phy/omap_usb.h (renamed from include/linux/usb/omap_usb.h) | 3 |
3 files changed, 2 insertions, 5 deletions
diff --git a/drivers/phy/phy-omap-usb2.c b/drivers/phy/phy-omap-usb2.c index 705af5a11fb9..9c3f056b3ddf 100644 --- a/drivers/phy/phy-omap-usb2.c +++ b/drivers/phy/phy-omap-usb2.c | |||
@@ -21,7 +21,7 @@ | |||
21 | #include <linux/slab.h> | 21 | #include <linux/slab.h> |
22 | #include <linux/of.h> | 22 | #include <linux/of.h> |
23 | #include <linux/io.h> | 23 | #include <linux/io.h> |
24 | #include <linux/usb/omap_usb.h> | 24 | #include <linux/phy/omap_usb.h> |
25 | #include <linux/usb/phy_companion.h> | 25 | #include <linux/usb/phy_companion.h> |
26 | #include <linux/clk.h> | 26 | #include <linux/clk.h> |
27 | #include <linux/err.h> | 27 | #include <linux/err.h> |
diff --git a/drivers/usb/phy/phy-twl6030-usb.c b/drivers/usb/phy/phy-twl6030-usb.c index 214172b68d5d..04778cf80d60 100644 --- a/drivers/usb/phy/phy-twl6030-usb.c +++ b/drivers/usb/phy/phy-twl6030-usb.c | |||
@@ -27,7 +27,7 @@ | |||
27 | #include <linux/io.h> | 27 | #include <linux/io.h> |
28 | #include <linux/usb/musb-omap.h> | 28 | #include <linux/usb/musb-omap.h> |
29 | #include <linux/usb/phy_companion.h> | 29 | #include <linux/usb/phy_companion.h> |
30 | #include <linux/usb/omap_usb.h> | 30 | #include <linux/phy/omap_usb.h> |
31 | #include <linux/i2c/twl.h> | 31 | #include <linux/i2c/twl.h> |
32 | #include <linux/regulator/consumer.h> | 32 | #include <linux/regulator/consumer.h> |
33 | #include <linux/err.h> | 33 | #include <linux/err.h> |
diff --git a/include/linux/usb/omap_usb.h b/include/linux/phy/omap_usb.h index 6ae29360e1d2..19d343c37fb5 100644 --- a/include/linux/usb/omap_usb.h +++ b/include/linux/phy/omap_usb.h | |||
@@ -33,13 +33,10 @@ struct usb_dpll_params { | |||
33 | struct omap_usb { | 33 | struct omap_usb { |
34 | struct usb_phy phy; | 34 | struct usb_phy phy; |
35 | struct phy_companion *comparator; | 35 | struct phy_companion *comparator; |
36 | void __iomem *pll_ctrl_base; | ||
37 | struct device *dev; | 36 | struct device *dev; |
38 | struct device *control_dev; | 37 | struct device *control_dev; |
39 | struct clk *wkupclk; | 38 | struct clk *wkupclk; |
40 | struct clk *sys_clk; | ||
41 | struct clk *optclk; | 39 | struct clk *optclk; |
42 | u8 is_suspended:1; | ||
43 | }; | 40 | }; |
44 | 41 | ||
45 | #define phy_to_omapusb(x) container_of((x), struct omap_usb, phy) | 42 | #define phy_to_omapusb(x) container_of((x), struct omap_usb, phy) |