Re: [PATCH] usb: gadget: move the global the_dev variable to their users

2013-01-12 Thread Sebastian Andrzej Siewior
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On Thu, Jan 10, 2013 at 12:23:49PM +0200, Felipe Balbi wrote: On Thu, Nov 08, 2012 at 07:24:13PM +0100, Sebastian Andrzej Siewior wrote: the u_ether.c file has a global variable named the_dev which keeps a pointer to the network device after it

Re: [PATCH] usb: gadget: move the global the_dev variable to their users

2013-01-10 Thread Felipe Balbi
On Thu, Nov 08, 2012 at 07:24:13PM +0100, Sebastian Andrzej Siewior wrote: 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

[PATCH] usb: gadget: move the global the_dev variable to their users

2012-11-08 Thread Sebastian Andrzej Siewior
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

Re: [PATCH] usb: gadget: move the global the_dev variable to their users

2012-11-08 Thread Sebastian Andrzej Siewior
On 11/08/2012 07:24 PM, Sebastian Andrzej Siewior wrote: 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