diff options
author | Florian Fainelli <florian@openwrt.org> | 2012-10-08 09:11:36 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-22 14:26:54 -0400 |
commit | 7518f0763ecd6232ccad379e56e45b799d2d1a4c (patch) | |
tree | 0043e3387fbb0eee5fe3e0bbf756b3fa3b05e66d /arch/sh/kernel/cpu/sh4a/setup-sh7763.c | |
parent | c2e91e046df67efa401f77ebe13478e124bc50f7 (diff) |
sh: convert boards to use the OHCI platform driver
This patch makes all SuperH boards using the ohci-sh platform driver to use
the ohci-platform driver instead, which is suitable for use by these boards.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/sh/kernel/cpu/sh4a/setup-sh7763.c')
-rw-r--r-- | arch/sh/kernel/cpu/sh4a/setup-sh7763.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7763.c b/arch/sh/kernel/cpu/sh4a/setup-sh7763.c index bd0a8fbe610f..1686acaaf45a 100644 --- a/arch/sh/kernel/cpu/sh4a/setup-sh7763.c +++ b/arch/sh/kernel/cpu/sh4a/setup-sh7763.c | |||
@@ -16,6 +16,7 @@ | |||
16 | #include <linux/sh_intc.h> | 16 | #include <linux/sh_intc.h> |
17 | #include <linux/io.h> | 17 | #include <linux/io.h> |
18 | #include <linux/serial_sci.h> | 18 | #include <linux/serial_sci.h> |
19 | #include <linux/usb/ohci_pdriver.h> | ||
19 | 20 | ||
20 | static struct plat_sci_port scif0_platform_data = { | 21 | static struct plat_sci_port scif0_platform_data = { |
21 | .mapbase = 0xffe00000, | 22 | .mapbase = 0xffe00000, |
@@ -106,12 +107,15 @@ static struct resource usb_ohci_resources[] = { | |||
106 | 107 | ||
107 | static u64 usb_ohci_dma_mask = 0xffffffffUL; | 108 | static u64 usb_ohci_dma_mask = 0xffffffffUL; |
108 | 109 | ||
110 | static struct usb_ohci_pdata usb_ohci_pdata; | ||
111 | |||
109 | static struct platform_device usb_ohci_device = { | 112 | static struct platform_device usb_ohci_device = { |
110 | .name = "sh_ohci", | 113 | .name = "ohci-platform", |
111 | .id = -1, | 114 | .id = -1, |
112 | .dev = { | 115 | .dev = { |
113 | .dma_mask = &usb_ohci_dma_mask, | 116 | .dma_mask = &usb_ohci_dma_mask, |
114 | .coherent_dma_mask = 0xffffffff, | 117 | .coherent_dma_mask = 0xffffffff, |
118 | .platform_data = &usb_ohci_pdata, | ||
115 | }, | 119 | }, |
116 | .num_resources = ARRAY_SIZE(usb_ohci_resources), | 120 | .num_resources = ARRAY_SIZE(usb_ohci_resources), |
117 | .resource = usb_ohci_resources, | 121 | .resource = usb_ohci_resources, |