From: Alexander Shishkin Date: Fri, 11 May 2012 14:25:42 +0000 (+0300) Subject: usb: gadget: ci13xxx: fix the context of register map X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=405b84487438efa1360740a70ec3e3cd1a90bd62;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git 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 --- diff --git a/drivers/usb/gadget/ci13xxx_udc.h b/drivers/usb/gadget/ci13xxx_udc.h index 553cc817b2d..a4cad41634f 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 */