From: Sebastian Andrzej Siewior Date: Sun, 23 Dec 2012 20:10:01 +0000 (+0100) Subject: usb: gadget: convert source sink and loopback to new function interface X-Git-Tag: v3.9-rc1~126^2~43^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf9a08ae5aece88987bbeee8eb0dd0ebb5015815;p=pandora-kernel.git usb: gadget: convert source sink and loopback to new function interface This patch converts the f_sourcesink and f_loopback file to the USB-function module. Both functions shares a few common utility functions which are currently implemented in g_zero.c itself. This patch moves the common code into the sourcesink file and creates one module out of the the two functions (source sink and loop back). The g_zero gadget is function specific to source sink and loop back to set a few options. This Symbol dependency enforces a modul load right now. Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed