diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2012-09-06 22:11:01 +0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2012-09-10 16:32:58 +0400 |
commit | fac3a43e0ab20dbf5e845c6221ead0d073984f41 (patch) | |
tree | a735712fb538d90bf87ecebb982df19b1b93649e /include/linux/mfd/pm8xxx | |
parent | e4730931143398ec32088af32e985ec413739c10 (diff) | |
download | linux-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 'include/linux/mfd/pm8xxx')
0 files changed, 0 insertions, 0 deletions