commit | 89ba85d4015b7fa738b35bcc228075c117a9a578 | [log] [tgz] |
---|---|---|
author | Michal Nazarewicz <m.nazarewicz@samsung.com> | Mon Jun 21 13:57:04 2010 +0200 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Tue Aug 10 14:35:37 2010 -0700 |
tree | 32e20f97ee2d2b04251d68db52930e2489b758e9 | |
parent | 8876f5e7d3b2a320777dd4f6f5301d474c97a06c [diff] |
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 <m.nazarewicz@samsung.com> Cc: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>