/* * u_phonet.h - interface to Phonet * * Copyright (C) 2007-2008 by Nokia Corporation * * This software is distributed under the terms of the GNU General * Public License ("GPL") as published by the Free Software Foundation, * either version 2 of that License or (at your option) any later version. */ #ifndef __U_PHONET_H #define __U_PHONET_H #include #include struct f_phonet_opts { struct usb_function_instance func_inst; bool bound; struct net_device *net; }; struct net_device *gphonet_setup_default(void); void gphonet_set_gadget(struct net_device *net, struct usb_gadget *g); int gphonet_register_netdev(struct net_device *net); int phonet_bind_config(struct usb_configuration *c, struct net_device *dev); void gphonet_cleanup(struct net_device *dev); #endif /* __U_PHONET_H */ dex : net-next.git
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2017-02-10 14:39:08 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2017-02-10 14:39:08 -0800
commitaca9fa0c8d225b1446dbed798b1d2f20e37e52cf (patch)
treecf8d9f70ca376665da6b83eaae382ac0218395fc /drivers/usb/host/whci/asl.c
parentfc6f41ba8b2e705f91324db158c3cc28209a15b1 (diff)
parentbbb27fc33d44e7b8d96369810654df4ee1837566 (diff)
Merge branch 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux
Pull i2c bugfixes from Wolfram Sang: "Two bugfixes (proper IO mapping and use of mutex) for a driver feature we introduced in this cycle" * 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux: i2c: piix4: Request the SMBUS semaphore inside the mutex i2c: piix4: Fix request_region size
Diffstat (limited to 'drivers/usb/host/whci/asl.c')