diff options
author | Kishon Vijay Abraham I <kishon@ti.com> | 2013-01-25 15:54:00 +0530 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-01-25 12:27:24 +0200 |
commit | ca784be36cc725bca9b526eba342de7550329731 (patch) | |
tree | 23f0da8e88f81d73587e06a6d295260d50494eb7 /include/linux/usb/omap_usb.h | |
parent | 01658f0f8d1322dbf94f289aa610731d539bf888 (diff) |
usb: start using the control module driver
Start using the control module driver for powering on the PHY and for
writing to the mailbox instead of writing to the control module
registers on their own.
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'include/linux/usb/omap_usb.h')
-rw-r--r-- | include/linux/usb/omap_usb.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/linux/usb/omap_usb.h b/include/linux/usb/omap_usb.h index 0ea17f8ae820..3db9b5316b10 100644 --- a/include/linux/usb/omap_usb.h +++ b/include/linux/usb/omap_usb.h @@ -25,13 +25,11 @@ struct omap_usb { struct usb_phy phy; struct phy_companion *comparator; struct device *dev; - u32 __iomem *control_dev; + struct device *control_dev; struct clk *wkupclk; u8 is_suspended:1; }; -#define PHY_PD 0x1 - #define phy_to_omapusb(x) container_of((x), struct omap_usb, phy) #if defined(CONFIG_OMAP_USB2) || defined(CONFIG_OMAP_USB2_MODULE) |