diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-21 00:26:12 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-21 00:26:12 -0400 |
commit | 7a9b149212f3716c598afe973b6261fd58453b7a (patch) | |
tree | 477716d84c71da124448b72278e98da28aadbd3d /drivers/usb/musb/musb_core.h | |
parent | 3d62e3fdce8ef265a3706c52ae1ca6ab84e30f0e (diff) | |
parent | e26bcf37234c67624f62d9fc95f922b8dbda1363 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6: (229 commits)
USB: remove unused usb_buffer_alloc and usb_buffer_free macros
usb: musb: update gfp/slab.h includes
USB: ftdi_sio: fix legacy SIO-device header
USB: kl5usb105: reimplement using generic framework
USB: kl5usb105: minor clean ups
USB: kl5usb105: fix memory leak
USB: io_ti: use kfifo to implement write buffering
USB: io_ti: remove unsused private counter
USB: ti_usb: use kfifo to implement write buffering
USB: ir-usb: fix incorrect write-buffer length
USB: aircable: fix incorrect write-buffer length
USB: safe_serial: straighten out read processing
USB: safe_serial: reimplement read using generic framework
USB: safe_serial: reimplement write using generic framework
usb-storage: always print quirks
USB: usb-storage: trivial debug improvements
USB: oti6858: use port write fifo
USB: oti6858: use kfifo to implement write buffering
USB: cypress_m8: use kfifo to implement write buffering
USB: cypress_m8: remove unused drain define
...
Fix up conflicts (due to usb_buffer_alloc/free renaming) in
drivers/input/tablet/acecad.c
drivers/input/tablet/kbtab.c
drivers/input/tablet/wacom_sys.c
drivers/media/video/gspca/gspca.c
sound/usb/usbaudio.c
Diffstat (limited to 'drivers/usb/musb/musb_core.h')
-rw-r--r-- | drivers/usb/musb/musb_core.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/drivers/usb/musb/musb_core.h b/drivers/usb/musb/musb_core.h index ac17b004909b..b22d02dea7d3 100644 --- a/drivers/usb/musb/musb_core.h +++ b/drivers/usb/musb/musb_core.h | |||
@@ -69,7 +69,7 @@ struct musb_ep; | |||
69 | #include "musb_regs.h" | 69 | #include "musb_regs.h" |
70 | 70 | ||
71 | #include "musb_gadget.h" | 71 | #include "musb_gadget.h" |
72 | #include "../core/hcd.h" | 72 | #include <linux/usb/hcd.h> |
73 | #include "musb_host.h" | 73 | #include "musb_host.h" |
74 | 74 | ||
75 | 75 | ||
@@ -213,7 +213,8 @@ enum musb_g_ep0_state { | |||
213 | */ | 213 | */ |
214 | 214 | ||
215 | #if defined(CONFIG_ARCH_DAVINCI) || defined(CONFIG_ARCH_OMAP2430) \ | 215 | #if defined(CONFIG_ARCH_DAVINCI) || defined(CONFIG_ARCH_OMAP2430) \ |
216 | || defined(CONFIG_ARCH_OMAP3430) || defined(CONFIG_BLACKFIN) | 216 | || defined(CONFIG_ARCH_OMAP3430) || defined(CONFIG_BLACKFIN) \ |
217 | || defined(CONFIG_ARCH_OMAP4) | ||
217 | /* REVISIT indexed access seemed to | 218 | /* REVISIT indexed access seemed to |
218 | * misbehave (on DaVinci) for at least peripheral IN ... | 219 | * misbehave (on DaVinci) for at least peripheral IN ... |
219 | */ | 220 | */ |
@@ -596,7 +597,8 @@ extern void musb_hnp_stop(struct musb *musb); | |||
596 | extern int musb_platform_set_mode(struct musb *musb, u8 musb_mode); | 597 | extern int musb_platform_set_mode(struct musb *musb, u8 musb_mode); |
597 | 598 | ||
598 | #if defined(CONFIG_USB_TUSB6010) || defined(CONFIG_BLACKFIN) || \ | 599 | #if defined(CONFIG_USB_TUSB6010) || defined(CONFIG_BLACKFIN) || \ |
599 | defined(CONFIG_ARCH_OMAP2430) || defined(CONFIG_ARCH_OMAP3) | 600 | defined(CONFIG_ARCH_OMAP2430) || defined(CONFIG_ARCH_OMAP3) || \ |
601 | defined(CONFIG_ARCH_OMAP4) | ||
600 | extern void musb_platform_try_idle(struct musb *musb, unsigned long timeout); | 602 | extern void musb_platform_try_idle(struct musb *musb, unsigned long timeout); |
601 | #else | 603 | #else |
602 | #define musb_platform_try_idle(x, y) do {} while (0) | 604 | #define musb_platform_try_idle(x, y) do {} while (0) |
@@ -608,7 +610,7 @@ extern int musb_platform_get_vbus_status(struct musb *musb); | |||
608 | #define musb_platform_get_vbus_status(x) 0 | 610 | #define musb_platform_get_vbus_status(x) 0 |
609 | #endif | 611 | #endif |
610 | 612 | ||
611 | extern int __init musb_platform_init(struct musb *musb); | 613 | extern int __init musb_platform_init(struct musb *musb, void *board_data); |
612 | extern int musb_platform_exit(struct musb *musb); | 614 | extern int musb_platform_exit(struct musb *musb); |
613 | 615 | ||
614 | #endif /* __MUSB_CORE_H__ */ | 616 | #endif /* __MUSB_CORE_H__ */ |