From: Sebastian Andrzej Siewior Date: Thu, 6 Sep 2012 18:11:03 +0000 (+0200) Subject: usb: gadget: push all usb_composite_driver structs into __refdata X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~73^2~141^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2ec75c25112c9e0d9053f55ba8cf0a358d4a354;p=pandora-kernel.git usb: gadget: push all usb_composite_driver structs into __refdata As it turns out, Sam's comment was better than I initially assumed. This patch pushes as struct usb_composite_driver data structures into __refdata section to avoid a section missmatch report from modpost because the ->bind() can be marked __init. The only downside is that modpost does not check between ->bind() and other member. However, it is temporary. Cc: Sam Ravnborg Acked-by: Michal Nazarewicz Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed