diff options
author | Alexander Shishkin <alexander.shishkin@linux.intel.com> | 2012-05-11 17:25:42 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-11 16:35:38 -0700 |
commit | 405b84487438efa1360740a70ec3e3cd1a90bd62 (patch) | |
tree | e5086345e1b0dd53d18662203616c92af5475aee | |
parent | 177a83006d7823b9f4968dd4aec267640684f760 (diff) |
usb: gadget: ci13xxx: fix the context of register map
The regmap field is an array of register pointers, not the other way
around.
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/usb/gadget/ci13xxx_udc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/ci13xxx_udc.h b/drivers/usb/gadget/ci13xxx_udc.h index 553cc817b2dc..a4cad41634fc 100644 --- a/drivers/usb/gadget/ci13xxx_udc.h +++ b/drivers/usb/gadget/ci13xxx_udc.h @@ -122,7 +122,7 @@ struct hw_bank { void __iomem *cap; /* bus map offset + CAP offset */ void __iomem *op; /* bus map offset + OP offset */ size_t size; /* bank size */ - void *__iomem *regmap; + void __iomem **regmap; }; /* CI13XXX UDC descriptor & global resources */ |