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-Tag: v3.5-rc1~149^2~81 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=405b84487438efa1360740a70ec3e3cd1a90bd62;p=profile%2Fivi%2Fkernel-x86-ivi.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 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 */