Эх сурвалжийг харах

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>
Alexander Shishkin 13 жил өмнө
parent
commit
405b844874

+ 1 - 1
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 */