diff options
author | Sachin Kamat <[email protected]> | 2014-02-03 13:59:38 +0530 |
---|---|---|
committer | Felipe Balbi <[email protected]> | 2014-02-18 10:34:04 -0600 |
commit | d246c9d55a90722fac9e7284201088eb62adcfc3 (patch) | |
tree | bd506e3cbc24eac4b61903cf7da0def67c16b7bd /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | 33f8d75f5771993ef16ed6bd56d7210f54226203 (diff) |
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 <[email protected]>
Reviewed-by: Robert Baldyga <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions