summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorStefan Koch <stefan.koch10@gmail.com>2015-08-25 21:10:05 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-09-22 21:08:39 +0200
commit4ad2ddce1a096dea71d42969515d3a64f0d9246f (patch)
treeb9da9ea9aaf5cdb14151e61e64a970a3e5da91ad /include
parenttools: usbip: detach: avoid calling strlen() at each iteration (diff)
downloadlinux-4ad2ddce1a096dea71d42969515d3a64f0d9246f.tar.xz
linux-4ad2ddce1a096dea71d42969515d3a64f0d9246f.zip
usb: interface authorization: Declare authorized attribute
The attribute authorized shows the authorization state for an interface. Signed-off-by: Stefan Koch <stefan.koch10@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/usb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/usb.h b/include/linux/usb.h
index 447fe29b55b4..3deccab2ce0a 100644
--- a/include/linux/usb.h
+++ b/include/linux/usb.h
@@ -178,6 +178,7 @@ struct usb_interface {
unsigned needs_altsetting0:1; /* switch to altsetting 0 is pending */
unsigned needs_binding:1; /* needs delayed unbind/rebind */
unsigned resetting_device:1; /* true: bandwidth alloc after reset */
+ unsigned authorized:1; /* used for interface authorization */
struct device dev; /* interface specific device info */
struct device *usb_dev;