/* SPDX-License-Identifier: GPL-2.0 */ /* * Interface to the libusual. * * Copyright (c) 2005 Pete Zaitcev <[email protected]> * Copyright (c) 1999-2002 Matthew Dharm ([email protected]) * Copyright (c) 1999 Michael Gee ([email protected]) */ #ifndef __LINUX_USB_USUAL_H #define __LINUX_USB_USUAL_H /* We should do this for cleanliness... But other usb_foo.h do not do this. */ /* #include <linux/usb.h> */ /* * The flags field, which we store in usb_device_id.driver_info. * It is compatible with the old usb-storage flags in lower 24 bits. */ /* * Static flag definitions. We use this roundabout technique so that the * proc_info() routine can automatically display a message for each flag. */ #define US_DO_ALL_FLAGS … \ #define US_FLAG … enum { … }; #undef US_FLAG #include <linux/usb/storage.h> extern int usb_usual_ignore_device(struct usb_interface *intf); extern const struct usb_device_id usb_storage_usb_ids[]; #endif /* __LINUX_USB_USUAL_H */