summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/tcm_usb_gadget.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2012-09-06 18:11:01 (GMT)
committerFelipe Balbi <balbi@ti.com>2012-09-10 12:32:58 (GMT)
commitfac3a43e0ab20dbf5e845c6221ead0d073984f41 (patch)
treea735712fb538d90bf87ecebb982df19b1b93649e /drivers/usb/gadget/tcm_usb_gadget.c
parente4730931143398ec32088af32e985ec413739c10 (diff)
downloadlinux-fsl-qoriq-fac3a43e0ab20dbf5e845c6221ead0d073984f41.tar.xz
usb: gadget: move bind callback into driver struct usb_composite_driver
It was moved to be an argument in 07a18bd716ed5 ("usb gadget: don't save bind callback in struct usb_composite_driver"). The reason was to avoid the section missmatch. The warning was shown because ->bind is marked as __init becuase it is a one time init. The warning can be also suppresed by whitelisting the variable i.e. rename it to lets say _probe. Acked-by: Michal Nazarewicz <mina86@mina86.com> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/tcm_usb_gadget.c')
0 files changed, 0 insertions, 0 deletions