summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/s3c-hsudc.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2014-01-03 06:28:59 +0100
committerFelipe Balbi <balbi@ti.com>2014-02-18 17:52:53 +0100
commite362115a07eaf3509b12853c2047d19720501fd9 (patch)
treef1b6ddb5499c945d7d7f25c2581a058e18674fde /drivers/usb/gadget/s3c-hsudc.c
parentusb: gadget: fix error return code (diff)
downloadlinux-e362115a07eaf3509b12853c2047d19720501fd9.tar.xz
linux-e362115a07eaf3509b12853c2047d19720501fd9.zip
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 <sachin.kamat@linaro.org> Reviewed-by: Robert Baldyga <r.baldyga@samsung.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/s3c-hsudc.c')
0 files changed, 0 insertions, 0 deletions