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>
This commit is contained in:
Alexander Shishkin 2012-05-11 17:25:42 +03:00 committed by Greg Kroah-Hartman
parent 177a83006d
commit 405b844874

View file

@ -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 */