[PATCH v8 03/20] usb: gadget: ci13xxx: fix the context of register map

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

The regmap field is an array of register pointers, not the other way

Signed-off-by: Alexander Shishkin <alexander.shishkin@xxxxxxxxxxxxxxx>
 drivers/usb/gadget/ci13xxx_udc.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/gadget/ci13xxx_udc.h b/drivers/usb/gadget/ci13xxx_udc.h
index 553cc81..a4cad41 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 */

To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

B and H Foto and Electronics Corp.

[Linux Media]     [Video for Linux]     [Linux Input]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Free Online Dating]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]     [More Archives]

Add to Google Powered by Linux