atmel_usba_udc: move endpoint declarations into platform data.
authorStelian Pop <stelian@popies.net>
Tue, 4 Mar 2008 23:00:00 +0000 (00:00 +0100)
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
Sun, 6 Apr 2008 21:15:08 +0000 (17:15 -0400)
commit8d855317fcf7fd9bd900d1e5ef1bea1b14bbe6af
tree50ac64812c3220088ea5b969ae07af7c1987ee5a
parent8d12c32c19a2719f6a96a23e94d95699c47e55d0
atmel_usba_udc: move endpoint declarations into platform data.

The atmel_usba_udc driver is being used by several platforms and arches
(avr32 and at91 ATM), and each platform may have different endpoint
settings.

The patch below moves the endpoint declarations into the platform
data and make the necessary adjustments for AVR32 (improved by
Haavard Skinnemoen <hskinnemoen@atmel.com>).

Signed-off-by: Stelian Pop <stelian@popies.net>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
arch/avr32/mach-at32ap/at32ap700x.c
drivers/usb/gadget/atmel_usba_udc.c
include/asm-avr32/arch-at32ap/board.h
include/linux/usb/atmel_usba_udc.h [new file with mode: 0644]