From: Sachin Kamat Date: Mon, 3 Feb 2014 08:29:38 +0000 (+0530) Subject: usb: gadget: s3c2410_udc: Fix build error X-Git-Tag: v3.14-rc4~6^2~1^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d246c9d55a90722fac9e7284201088eb62adcfc3;p=pandora-kernel.git usb: gadget: s3c2410_udc: Fix build error Pass value instead of address as expected by 'usb_ep_set_maxpacket_limit'. Fixes the following compilation error introduced by commit e117e742d310 ("usb: gadget: add "maxpacket_limit" field to struct usb_ep"): drivers/usb/gadget/s3c2410_udc.c: In function ‘s3c2410_udc_reinit’: drivers/usb/gadget/s3c2410_udc.c:1632:3: error: cannot take address of bit-field ‘maxpacket’ usb_ep_set_maxpacket_limit(&ep->ep, &ep->ep.maxpacket); Signed-off-by: Sachin Kamat Reviewed-by: Robert Baldyga Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed