diff options
author | Felipe Balbi <felipe.balbi@nokia.com> | 2008-08-08 05:40:54 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-08-13 20:33:01 -0400 |
commit | ca6d1b1333bc2e61e37982de1f28d8604c232414 (patch) | |
tree | 6675d284fc932e9125fc7fd083eebb7f0a1d5695 /arch | |
parent | f362a47560070ec0aaf68ac6b45901eeed1c844f (diff) |
usb: musb: pass configuration specifics via pdata
Use platform_data to pass musb configuration-specific
details to musb driver.
This patch will prevent that other platforms selecting
HAVE_CLK and enabling musb won't break tree building.
The other parts of it will come when linux-omap merge
up more omap2/3 board-files.
Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Acked-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-omap2/usb-tusb6010.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/usb-tusb6010.c b/arch/arm/mach-omap2/usb-tusb6010.c index 1607c941d95f..10ef464d6be7 100644 --- a/arch/arm/mach-omap2/usb-tusb6010.c +++ b/arch/arm/mach-omap2/usb-tusb6010.c | |||
@@ -317,7 +317,6 @@ tusb6010_setup_interface(struct musb_hdrc_platform_data *data, | |||
317 | printk(error, 6, status); | 317 | printk(error, 6, status); |
318 | return -ENODEV; | 318 | return -ENODEV; |
319 | } | 319 | } |
320 | data->multipoint = 1; | ||
321 | tusb_device.dev.platform_data = data; | 320 | tusb_device.dev.platform_data = data; |
322 | 321 | ||
323 | /* REVISIT let the driver know what DMA channels work */ | 322 | /* REVISIT let the driver know what DMA channels work */ |