summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/usb/chipidea.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/usb/chipidea.h b/include/linux/usb/chipidea.h
index 8c3b7e2ec5a1..c75433e763e7 100644
--- a/include/linux/usb/chipidea.h
+++ b/include/linux/usb/chipidea.h
@@ -30,7 +30,10 @@ struct ci_hdrc_platform_data {
enum usb_dr_mode dr_mode;
#define CI_HDRC_CONTROLLER_RESET_EVENT 0
#define CI_HDRC_CONTROLLER_STOPPED_EVENT 1
- void (*notify_event) (struct ci_hdrc *ci, unsigned event);
+#define CI_HDRC_CONTROLLER_CHARGER_EVENT 2
+#define CI_HDRC_CONTROLLER_CHARGER_POST_EVENT 3
+ int (*notify_event) (struct ci_hdrc *ci, unsigned event);
+#define CI_HDRC_NOTIFY_RET_DEFER_EVENT 1
struct regulator *reg_vbus;
};