diff options
author | Andrew Victor <andrew@sanpeople.com> | 2006-12-07 22:44:33 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-12-20 10:14:27 -0800 |
commit | ffd3326bf6282b9f606e92ae57e8f47f2e10e6b5 (patch) | |
tree | a63757e053600754aeda03472427846f7eaf5b05 /drivers/usb/gadget/at91_udc.h | |
parent | 5151d04068e37e710d2cc3962351ca0979fc5ad1 (diff) |
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>
Diffstat (limited to 'drivers/usb/gadget/at91_udc.h')
-rw-r--r-- | drivers/usb/gadget/at91_udc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/at91_udc.h b/drivers/usb/gadget/at91_udc.h index 882af42e86c..a35f3b627d3 100644 --- a/drivers/usb/gadget/at91_udc.h +++ b/drivers/usb/gadget/at91_udc.h @@ -141,6 +141,7 @@ struct at91_udc { struct clk *iclk, *fclk; struct platform_device *pdev; struct proc_dir_entry *pde; + void __iomem *udp_baseaddr; int udp_irq; }; |