summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/at91_udc.h
diff options
context:
space:
mode:
authorAndrew Victor <andrew@sanpeople.com>2006-12-08 07:44:33 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2006-12-20 19:14:27 +0100
commitffd3326bf6282b9f606e92ae57e8f47f2e10e6b5 (patch)
treea63757e053600754aeda03472427846f7eaf5b05 /drivers/usb/gadget/at91_udc.h
parentUSB: OHCI support for PNX8550 (diff)
downloadlinux-ffd3326bf6282b9f606e92ae57e8f47f2e10e6b5.tar.xz
linux-ffd3326bf6282b9f606e92ae57e8f47f2e10e6b5.zip
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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/at91_udc.h b/drivers/usb/gadget/at91_udc.h
index 882af42e86cc..a35f3b627d3c 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;
};