mirror of
https://github.com/torvalds/linux.git
synced 2024-12-26 04:42:12 +00:00
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:
parent
177a83006d
commit
405b844874
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user