diff options
Diffstat (limited to 'arch/sh/kernel/cpu/sh3/setup-sh7720.c')
-rw-r--r-- | arch/sh/kernel/cpu/sh3/setup-sh7720.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/sh/kernel/cpu/sh3/setup-sh7720.c b/arch/sh/kernel/cpu/sh3/setup-sh7720.c index 0c2f1b2c2e1..42d991f632b 100644 --- a/arch/sh/kernel/cpu/sh3/setup-sh7720.c +++ b/arch/sh/kernel/cpu/sh3/setup-sh7720.c | |||
@@ -20,6 +20,7 @@ | |||
20 | #include <linux/serial_sci.h> | 20 | #include <linux/serial_sci.h> |
21 | #include <linux/sh_timer.h> | 21 | #include <linux/sh_timer.h> |
22 | #include <linux/sh_intc.h> | 22 | #include <linux/sh_intc.h> |
23 | #include <linux/usb/ohci_pdriver.h> | ||
23 | #include <asm/rtc.h> | 24 | #include <asm/rtc.h> |
24 | #include <cpu/serial.h> | 25 | #include <cpu/serial.h> |
25 | 26 | ||
@@ -103,12 +104,15 @@ static struct resource usb_ohci_resources[] = { | |||
103 | 104 | ||
104 | static u64 usb_ohci_dma_mask = 0xffffffffUL; | 105 | static u64 usb_ohci_dma_mask = 0xffffffffUL; |
105 | 106 | ||
107 | static struct usb_ohci_pdata usb_ohci_pdata; | ||
108 | |||
106 | static struct platform_device usb_ohci_device = { | 109 | static struct platform_device usb_ohci_device = { |
107 | .name = "sh_ohci", | 110 | .name = "ohci-platform", |
108 | .id = -1, | 111 | .id = -1, |
109 | .dev = { | 112 | .dev = { |
110 | .dma_mask = &usb_ohci_dma_mask, | 113 | .dma_mask = &usb_ohci_dma_mask, |
111 | .coherent_dma_mask = 0xffffffff, | 114 | .coherent_dma_mask = 0xffffffff, |
115 | .platform_data = &usb_ohci_pdata, | ||
112 | }, | 116 | }, |
113 | .num_resources = ARRAY_SIZE(usb_ohci_resources), | 117 | .num_resources = ARRAY_SIZE(usb_ohci_resources), |
114 | .resource = usb_ohci_resources, | 118 | .resource = usb_ohci_resources, |