diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/usb/chipidea.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/usb/chipidea.h b/include/linux/usb/chipidea.h index 5dd75fa47dd8..f9be467d6695 100644 --- a/include/linux/usb/chipidea.h +++ b/include/linux/usb/chipidea.h | |||
| @@ -14,6 +14,7 @@ struct ci_hdrc; | |||
| 14 | * struct ci_hdrc_cable - structure for external connector cable state tracking | 14 | * struct ci_hdrc_cable - structure for external connector cable state tracking |
| 15 | * @state: current state of the line | 15 | * @state: current state of the line |
| 16 | * @changed: set to true when extcon event happen | 16 | * @changed: set to true when extcon event happen |
| 17 | * @enabled: set to true if we've enabled the vbus or id interrupt | ||
| 17 | * @edev: device which generate events | 18 | * @edev: device which generate events |
| 18 | * @ci: driver state of the chipidea device | 19 | * @ci: driver state of the chipidea device |
| 19 | * @nb: hold event notification callback | 20 | * @nb: hold event notification callback |
| @@ -22,6 +23,7 @@ struct ci_hdrc; | |||
| 22 | struct ci_hdrc_cable { | 23 | struct ci_hdrc_cable { |
| 23 | bool state; | 24 | bool state; |
| 24 | bool changed; | 25 | bool changed; |
| 26 | bool enabled; | ||
| 25 | struct extcon_dev *edev; | 27 | struct extcon_dev *edev; |
| 26 | struct ci_hdrc *ci; | 28 | struct ci_hdrc *ci; |
| 27 | struct notifier_block nb; | 29 | struct notifier_block nb; |
