aboutsummaryrefslogtreecommitdiff
path: root/include/uapi/linux/usbdevice_fs.h
diff options
context:
space:
mode:
authorGravatar Alan Stern <stern@rowland.harvard.edu> 2019-08-13 16:15:38 -0400
committerGravatar Greg Kroah-Hartman <gregkh@linuxfoundation.org> 2019-08-14 16:52:13 +0200
commit4ed3350539aa931f58c939fcd803c7510584e143 (patch)
tree2ae97ec694c534ab2ed376c0be1a45493ad27f2f /include/uapi/linux/usbdevice_fs.h
parentusb-storage: remove single-use define for debugging (diff)
downloadlinux-4ed3350539aa931f58c939fcd803c7510584e143.tar.gz
linux-4ed3350539aa931f58c939fcd803c7510584e143.tar.bz2
linux-4ed3350539aa931f58c939fcd803c7510584e143.zip
USB: usbfs: Add a capability flag for runtime suspend
The recent commit 7794f486ed0b ("usbfs: Add ioctls for runtime power management") neglected to add a corresponding capability flag. This patch rectifies the omission. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> CC: Mayuresh Kulkarni <mkulkarni@opensource.cirrus.com> Link: https://lore.kernel.org/r/Pine.LNX.4.44L0.1908131613490.1941-100000@iolanthe.rowland.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/uapi/linux/usbdevice_fs.h')
-rw-r--r--include/uapi/linux/usbdevice_fs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/usbdevice_fs.h b/include/uapi/linux/usbdevice_fs.h
index d24bbb6d3ca1..cf525cddeb94 100644
--- a/include/uapi/linux/usbdevice_fs.h
+++ b/include/uapi/linux/usbdevice_fs.h
@@ -158,6 +158,7 @@ struct usbdevfs_hub_portinfo {
#define USBDEVFS_CAP_MMAP 0x20
#define USBDEVFS_CAP_DROP_PRIVILEGES 0x40
#define USBDEVFS_CAP_CONNINFO_EX 0x80
+#define USBDEVFS_CAP_SUSPEND 0x100
/* USBDEVFS_DISCONNECT_CLAIM flags & struct */