mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-13 14:36:09 +07:00
2e75973832
This patch corrects the SPDX License Identifier style in header files related to USB peripheral controller drivers. For C header files Documentation/process/license-rules.rst mandates C-like comments (opposed to C source files where C++ style should be used). Changes made by using a script provided by Joe Perches here: https://lkml.org/lkml/2019/2/7/46. Suggested-by: Joe Perches <joe@perches.com> Signed-off-by: Nishad Kamdar <nishadkamdar@gmail.com> Signed-off-by: Felipe Balbi <balbi@kernel.org>
27 lines
667 B
C
27 lines
667 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* u_phonet.h - interface to Phonet
|
|
*
|
|
* Copyright (C) 2007-2008 by Nokia Corporation
|
|
*/
|
|
|
|
#ifndef __U_PHONET_H
|
|
#define __U_PHONET_H
|
|
|
|
#include <linux/usb/composite.h>
|
|
#include <linux/usb/cdc.h>
|
|
|
|
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 */
|