diff options
Diffstat (limited to 'include/linux/usb.h')
-rw-r--r-- | include/linux/usb.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/usb.h b/include/linux/usb.h index af4eb6419ae8..57f667cad3ec 100644 --- a/include/linux/usb.h +++ b/include/linux/usb.h | |||
@@ -1224,6 +1224,8 @@ struct usb_driver { | |||
1224 | * module is being unloaded. | 1224 | * module is being unloaded. |
1225 | * @suspend: Called when the device is going to be suspended by the system. | 1225 | * @suspend: Called when the device is going to be suspended by the system. |
1226 | * @resume: Called when the device is being resumed by the system. | 1226 | * @resume: Called when the device is being resumed by the system. |
1227 | * @dev_groups: Attributes attached to the device that will be created once it | ||
1228 | * is bound to the driver. | ||
1227 | * @drvwrap: Driver-model core structure wrapper. | 1229 | * @drvwrap: Driver-model core structure wrapper. |
1228 | * @supports_autosuspend: if set to 0, the USB core will not allow autosuspend | 1230 | * @supports_autosuspend: if set to 0, the USB core will not allow autosuspend |
1229 | * for devices bound to this driver. | 1231 | * for devices bound to this driver. |
@@ -1238,6 +1240,7 @@ struct usb_device_driver { | |||
1238 | 1240 | ||
1239 | int (*suspend) (struct usb_device *udev, pm_message_t message); | 1241 | int (*suspend) (struct usb_device *udev, pm_message_t message); |
1240 | int (*resume) (struct usb_device *udev, pm_message_t message); | 1242 | int (*resume) (struct usb_device *udev, pm_message_t message); |
1243 | const struct attribute_group **dev_groups; | ||
1241 | struct usbdrv_wrap drvwrap; | 1244 | struct usbdrv_wrap drvwrap; |
1242 | unsigned int supports_autosuspend:1; | 1245 | unsigned int supports_autosuspend:1; |
1243 | }; | 1246 | }; |