USB: at91 udc, support at91sam926x addresses
authorAndrew Victor <andrew@sanpeople.com>
Fri, 8 Dec 2006 06:44:33 +0000 (22:44 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 20 Dec 2006 18:14:27 +0000 (10:14 -0800)
commitffd3326bf6282b9f606e92ae57e8f47f2e10e6b5
treea63757e053600754aeda03472427846f7eaf5b05
parent5151d04068e37e710d2cc3962351ca0979fc5ad1
USB: at91 udc, support at91sam926x addresses

This is an update to the AT91 USB Device (Gadget) driver.

The base I/O address provided in the platform_device resources is now
ioremap()'ed instead of using a statically mapped memory area.  This
helps portability to the newer AT91sam926x processors.

The major change is that we now have to pass a 'struct at91_udc'
parameter to at91_udp_read() and at91_udp_write().

Signed-off-by: Andrew Victor <andrew@sanpeople.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/at91_udc.c
drivers/usb/gadget/at91_udc.h