diff options
| author | Linux Build Service Account <lnxbuild@localhost> | 2016-08-26 22:22:36 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-08-26 22:22:35 -0700 |
| commit | c41f5ad0997f1cfa8c81a1a1bcf0446dffa95626 (patch) | |
| tree | 6035fbd6bc6eeb0da03478a63f66f10224ae40f4 /include/linux | |
| parent | c3b0ac1e3975f4c5e191176dd278a0856a7b9614 (diff) | |
| parent | 84411ad344b44e61c1fe2e672b8ac30aabba2610 (diff) | |
Merge "usb: hcd: Add USB atomic notifier callback for HC died error"
Diffstat (limited to 'include/linux')
| -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 246945be000c..55240f9a3b94 100644 --- a/include/linux/usb.h +++ b/include/linux/usb.h @@ -1896,8 +1896,11 @@ static inline int usb_translate_errors(int error_code) #define USB_DEVICE_REMOVE 0x0002 #define USB_BUS_ADD 0x0003 #define USB_BUS_REMOVE 0x0004 +#define USB_BUS_DIED 0x0005 extern void usb_register_notify(struct notifier_block *nb); extern void usb_unregister_notify(struct notifier_block *nb); +extern void usb_register_atomic_notify(struct notifier_block *nb); +extern void usb_unregister_atomic_notify(struct notifier_block *nb); /* debugfs stuff */ extern struct dentry *usb_debug_root; |
