From: Sebastian Andrzej Siewior Date: Sun, 23 Dec 2012 20:10:12 +0000 (+0100) Subject: usb: gadget: move the global the_dev variable to their users X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~135^2~63^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6a0143985489e470a118605352f4b18df0ce142;p=pandora-kernel.git usb: gadget: move the global the_dev variable to their users the u_ether.c file has a global variable named the_dev which keeps a pointer to the network device after it has been created via gether_setup_name(). It is only used internally by u_ether. This patches moves the variable to its users and passes it via the port.ioport where it is saved later anyway. Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed