From: Sebastian Andrzej Siewior Date: Thu, 6 Sep 2012 18:11:01 +0000 (+0200) Subject: usb: gadget: move bind callback into driver struct usb_composite_driver X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~73^2~141^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fac3a43e0ab20dbf5e845c6221ead0d073984f41;p=pandora-kernel.git 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 Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed