From 405b84487438efa1360740a70ec3e3cd1a90bd62 Mon Sep 17 00:00:00 2001 From: Alexander Shishkin Date: Fri, 11 May 2012 17:25:42 +0300 Subject: [PATCH] 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 Signed-off-by: Greg Kroah-Hartman --- 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 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 */ -- 2.30.2