Commit b5a752cb authored by David Brownell's avatar David Brownell Committed by Greg Kroah-Hartman

[PATCH] USB: goku_udc sparse updates

This is a bunch of "sparse" fixes for goku_udc.  One of these might be
an issue on some systems for code that explicitly halts IN endpoints
(like file_storage) if normal memory access doesn't work for PCI.
Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
parent 408120d0
This diff is collapsed.
...@@ -216,9 +216,9 @@ struct goku_ep { ...@@ -216,9 +216,9 @@ struct goku_ep {
struct list_head queue; struct list_head queue;
const struct usb_endpoint_descriptor *desc; const struct usb_endpoint_descriptor *desc;
u32 *reg_fifo; u32 __iomem *reg_fifo;
u32 *reg_mode; u32 __iomem *reg_mode;
u32 *reg_status; u32 __iomem *reg_status;
}; };
struct goku_request { struct goku_request {
...@@ -253,7 +253,7 @@ struct goku_udc { ...@@ -253,7 +253,7 @@ struct goku_udc {
/* pci state used to access those endpoints */ /* pci state used to access those endpoints */
struct pci_dev *pdev; struct pci_dev *pdev;
struct goku_udc_regs *regs; struct goku_udc_regs __iomem *regs;
u32 int_enable; u32 int_enable;
/* statistics... */ /* statistics... */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment