From: Michal Nazarewicz Date: Mon, 21 Jun 2010 11:57:04 +0000 (+0200) Subject: USB: gadget: section mismatch warning fixed X-Git-Tag: v2.6.36-rc1~293^2~101 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89ba85d4015b7fa738b35bcc228075c117a9a578;p=pandora-kernel.git USB: gadget: section mismatch warning fixed In may gadgets bind and bind like functions were in a init section as they were only run during initialisation. However, being callback functions they were referenced from structures in “normal” sections. Changing the tag from “__init” to “__ref” fixes the warnings. Signed-off-by: Michal Nazarewicz Cc: Kyungmin Park Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed