phy: omap-usb2: move omap_usb.h from linux/usb/ to linux/phy/
authorKishon Vijay Abraham I <kishon@ti.com>
Mon, 3 Mar 2014 11:38:14 +0000 (17:08 +0530)
committerKishon Vijay Abraham I <kishon@ti.com>
Fri, 7 Mar 2014 16:21:45 +0000 (21:51 +0530)
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>
drivers/phy/phy-omap-usb2.c
drivers/usb/phy/phy-twl6030-usb.c
include/linux/phy/omap_usb.h [moved from include/linux/usb/omap_usb.h with 95% similarity]

index 705af5a..9c3f056 100644 (file)
@@ -21,7 +21,7 @@
 #include <linux/slab.h>
 #include <linux/of.h>
 #include <linux/io.h>
-#include <linux/usb/omap_usb.h>
+#include <linux/phy/omap_usb.h>
 #include <linux/usb/phy_companion.h>
 #include <linux/clk.h>
 #include <linux/err.h>
index 214172b..04778cf 100644 (file)
@@ -27,7 +27,7 @@
 #include <linux/io.h>
 #include <linux/usb/musb-omap.h>
 #include <linux/usb/phy_companion.h>
-#include <linux/usb/omap_usb.h>
+#include <linux/phy/omap_usb.h>
 #include <linux/i2c/twl.h>
 #include <linux/regulator/consumer.h>
 #include <linux/err.h>
similarity index 95%
rename from include/linux/usb/omap_usb.h
rename to include/linux/phy/omap_usb.h
index 6ae2936..19d343c 100644 (file)
@@ -33,13 +33,10 @@ struct usb_dpll_params {
 struct omap_usb {
        struct usb_phy          phy;
        struct phy_companion    *comparator;
-       void __iomem            *pll_ctrl_base;
        struct device           *dev;
        struct device           *control_dev;
        struct clk              *wkupclk;
-       struct clk              *sys_clk;
        struct clk              *optclk;
-       u8                      is_suspended:1;
 };
 
 #define        phy_to_omapusb(x)       container_of((x), struct omap_usb, phy)