summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/i2c-simtec.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2014-02-03 13:59:38 +0530
committerFelipe Balbi <balbi@ti.com>2014-02-18 10:34:04 -0600
commitd246c9d55a90722fac9e7284201088eb62adcfc3 (patch)
treebd506e3cbc24eac4b61903cf7da0def67c16b7bd /drivers/i2c/busses/i2c-simtec.c
parent33f8d75f5771993ef16ed6bd56d7210f54226203 (diff)
downloadblackbird-op-linux-d246c9d55a90722fac9e7284201088eb62adcfc3.tar.gz
blackbird-op-linux-d246c9d55a90722fac9e7284201088eb62adcfc3.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/i2c/busses/i2c-simtec.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud