]> Pileus Git - ~andy/linux/blobdiff - include/linux/usb_usual.h
sctp: fix a typo in prototype of __sctp_rcv_lookup()
[~andy/linux] / include / linux / usb_usual.h
index e84e769aaddc39ec51515c0b1169727115c51ad9..bf99cd01be206ebeb170d826e176c3ac22e1493e 100644 (file)
 enum { US_DO_ALL_FLAGS };
 #undef US_FLAG
 
-/*
- * The bias field for libusual and friends.
- */
-#define USB_US_TYPE_NONE   0
-#define USB_US_TYPE_STOR   1           /* usb-storage */
-#define USB_US_TYPE_UB     2           /* ub */
-
-#define USB_US_TYPE(flags)             (((flags) >> 24) & 0xFF)
-#define USB_US_ORIG_FLAGS(flags)       ((flags) & 0x00FFFFFF)
-
 #include <linux/usb/storage.h>
 
-/*
- */
 extern int usb_usual_ignore_device(struct usb_interface *intf);
 extern struct usb_device_id usb_storage_usb_ids[];
 
-#ifdef CONFIG_USB_LIBUSUAL
-
-extern void usb_usual_set_present(int type);
-extern void usb_usual_clear_present(int type);
-extern int usb_usual_check_type(const struct usb_device_id *, int type);
-#else
-
-#define usb_usual_set_present(t)       do { } while(0)
-#define usb_usual_clear_present(t)     do { } while(0)
-#define usb_usual_check_type(id, t)    (0)
-#endif /* CONFIG_USB_LIBUSUAL */
-
 #endif /* __LINUX_USB_USUAL_H */