diff options
author | Felipe Balbi <balbi@ti.com> | 2012-10-24 17:26:19 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-10-24 17:26:55 -0400 |
commit | e8c4a7acc9ec0ee82feedcdc3c6d0ee44d67918a (patch) | |
tree | aac78f4e5855a3e1790b76d07d406665318ab05b /drivers/usb/host/ehci-omap.c | |
parent | 54db6eee06b51278a79e007765151fb5e71c370c (diff) |
ARM: OMAP: move OMAP USB platform data to <linux/platform_data/omap-usb.h>
In order to make single zImage work for ARM architecture,
we need to make sure we don't depend on private headers.
Move USB platform_data to <linux/platform_data/omap-usb.h>
and add a minimal drivers/mfd/usb-omap.h.
Cc: Samuel Ortiz <sameo@linux.intel.com>
Cc: Alan Stern <stern@rowland.harvard.edu>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Partha Basak <parthab@india.ti.com>
Cc: Keshava Munegowda <keshava_mgowda@ti.com>
Cc: linux-usb@vger.kernel.org
Signed-off-by: Felipe Balbi <balbi@ti.com>
[tony@atomide.com: updated for local mfd/usb-omap.h]
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'drivers/usb/host/ehci-omap.c')
-rw-r--r-- | drivers/usb/host/ehci-omap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/host/ehci-omap.c b/drivers/usb/host/ehci-omap.c index d7fe287d0678..0d5ac36fdf47 100644 --- a/drivers/usb/host/ehci-omap.c +++ b/drivers/usb/host/ehci-omap.c | |||
@@ -39,12 +39,13 @@ | |||
39 | #include <linux/platform_device.h> | 39 | #include <linux/platform_device.h> |
40 | #include <linux/slab.h> | 40 | #include <linux/slab.h> |
41 | #include <linux/usb/ulpi.h> | 41 | #include <linux/usb/ulpi.h> |
42 | #include <plat/usb.h> | ||
43 | #include <linux/regulator/consumer.h> | 42 | #include <linux/regulator/consumer.h> |
44 | #include <linux/pm_runtime.h> | 43 | #include <linux/pm_runtime.h> |
45 | #include <linux/gpio.h> | 44 | #include <linux/gpio.h> |
46 | #include <linux/clk.h> | 45 | #include <linux/clk.h> |
47 | 46 | ||
47 | #include <linux/platform_data/usb-omap.h> | ||
48 | |||
48 | /* EHCI Register Set */ | 49 | /* EHCI Register Set */ |
49 | #define EHCI_INSNREG04 (0xA0) | 50 | #define EHCI_INSNREG04 (0xA0) |
50 | #define EHCI_INSNREG04_DISABLE_UNSUSPEND (1 << 5) | 51 | #define EHCI_INSNREG04_DISABLE_UNSUSPEND (1 << 5) |