1 // SPDX-License-Identifier: GPL-2.0+
3 * u_phonet.h - interface to Phonet
5 * Copyright (C) 2007-2008 by Nokia Corporation
7 * This software is distributed under the terms of the GNU General
8 * Public License ("GPL") as published by the Free Software Foundation,
9 * either version 2 of that License or (at your option) any later version.
15 #include <linux/usb/composite.h>
16 #include <linux/usb/cdc.h>
18 struct f_phonet_opts
{
19 struct usb_function_instance func_inst
;
21 struct net_device
*net
;
24 struct net_device
*gphonet_setup_default(void);
25 void gphonet_set_gadget(struct net_device
*net
, struct usb_gadget
*g
);
26 int gphonet_register_netdev(struct net_device
*net
);
27 int phonet_bind_config(struct usb_configuration
*c
, struct net_device
*dev
);
28 void gphonet_cleanup(struct net_device
*dev
);
30 #endif /* __U_PHONET_H */