aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mfd
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/mfd')
-rw-r--r--include/linux/mfd/palmas.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/include/linux/mfd/palmas.h b/include/linux/mfd/palmas.h
index c06d78af3342..e6090d88e91d 100644
--- a/include/linux/mfd/palmas.h
+++ b/include/linux/mfd/palmas.h
@@ -372,17 +372,15 @@ struct palmas_usb {
372 372
373 struct extcon_dev edev; 373 struct extcon_dev edev;
374 374
375 /* used to set vbus, in atomic path */
376 struct work_struct set_vbus_work;
377
378 int id_otg_irq; 375 int id_otg_irq;
379 int id_irq; 376 int id_irq;
380 int vbus_otg_irq; 377 int vbus_otg_irq;
381 int vbus_irq; 378 int vbus_irq;
382 379
383 int vbus_enable;
384
385 enum palmas_usb_state linkstat; 380 enum palmas_usb_state linkstat;
381 int wakeup;
382 bool enable_vbus_detection;
383 bool enable_id_detection;
386}; 384};
387 385
388#define comparator_to_palmas(x) container_of((x), struct palmas_usb, comparator) 386#define comparator_to_palmas(x) container_of((x), struct palmas_usb, comparator)