From: Kishon Vijay Abraham I Date: Wed, 6 Feb 2013 08:50:34 +0000 (+0530) Subject: usb: gadget: make usb functions to load before gadget driver X-Git-Tag: v3.9-rc3~17^2~19^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56aa45adcc5b793369e535a4b7177f1c7314b577;p=pandora-kernel.git usb: gadget: make usb functions to load before gadget driver The current ordering in makefile makes gadget drivers be loaded before usb functions which causes usb_get_function_instance() to fail when gadget modules are statically linked to the kernel binary. Changed the ordering here so that USB functions are loaded before gadget drivers. Note that this is only a temporary solution and a more robust fix is needed in the long run. Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed