linux/drivers/usb/core/generic.c

// SPDX-License-Identifier: GPL-2.0
/*
 * drivers/usb/core/generic.c - generic driver for USB devices (not interfaces)
 *
 * (C) Copyright 2005 Greg Kroah-Hartman <[email protected]>
 *
 * based on drivers/usb/usb.c which had the following copyrights:
 *	(C) Copyright Linus Torvalds 1999
 *	(C) Copyright Johannes Erdfelt 1999-2001
 *	(C) Copyright Andreas Gal 1999
 *	(C) Copyright Gregory P. Smith 1999
 *	(C) Copyright Deti Fliegl 1999 (new USB architecture)
 *	(C) Copyright Randy Dunlap 2000
 *	(C) Copyright David Brownell 2000-2004
 *	(C) Copyright Yggdrasil Computing, Inc. 2000
 *		(usb_device_id matching changes by Adam J. Richter)
 *	(C) Copyright Greg Kroah-Hartman 2002-2003
 *
 * Released under the GPLv2 only.
 */

#include <linux/usb.h>
#include <linux/usb/hcd.h>
#include <uapi/linux/usb/audio.h>
#include "usb.h"

static inline const char *plural(int n)
{}

static int is_rndis(struct usb_interface_descriptor *desc)
{}

static int is_activesync(struct usb_interface_descriptor *desc)
{}

static bool is_audio(struct usb_interface_descriptor *desc)
{}

static bool is_uac3_config(struct usb_interface_descriptor *desc)
{}

int usb_choose_configuration(struct usb_device *udev)
{}
EXPORT_SYMBOL_GPL();

static int __check_for_non_generic_match(struct device_driver *drv, void *data)
{}

static bool usb_generic_driver_match(struct usb_device *udev)
{}

int usb_generic_driver_probe(struct usb_device *udev)
{}

void usb_generic_driver_disconnect(struct usb_device *udev)
{}

#ifdef	CONFIG_PM

int usb_generic_driver_suspend(struct usb_device *udev, pm_message_t msg)
{}

int usb_generic_driver_resume(struct usb_device *udev, pm_message_t msg)
{}

#endif	/* CONFIG_PM */

struct usb_device_driver usb_generic_driver =;