summaryrefslogtreecommitdiff
path: root/drivers/extcon/extcon.h
diff options
context:
space:
mode:
authorSebastian Reichel <sre@kernel.org>2017-04-14 02:41:45 +0300
committerSebastian Reichel <sre@kernel.org>2017-04-14 02:41:45 +0300
commitddaa00ee63e184d86d3963ce3014ae04a6a4fce2 (patch)
treea82fdd1f6b9bb070e3ca8a6ab03cf2c1a420e4d0 /drivers/extcon/extcon.h
parent61489b0f9fa835cd2fef67ae26790cdf64b6b1c7 (diff)
parent815429b39d94c64f6d05eed9e7c1a9bdfdd5bd70 (diff)
downloadlinux-ddaa00ee63e184d86d3963ce3014ae04a6a4fce2.tar.xz
Merge remote-tracking branch 'chanwoo-extcon/ib-extcon-4.12' into psy-next
Diffstat (limited to 'drivers/extcon/extcon.h')
-rw-r--r--drivers/extcon/extcon.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/extcon/extcon.h b/drivers/extcon/extcon.h
index 993ddccafe11..dddddcfa0587 100644
--- a/drivers/extcon/extcon.h
+++ b/drivers/extcon/extcon.h
@@ -21,6 +21,8 @@
* @dev: Device of this extcon.
* @state: Attach/detach state of this extcon. Do not provide at
* register-time.
+ * @nh_all: Notifier for the state change events for all supported
+ * external connectors from this extcon.
* @nh: Notifier for the state change events from this extcon
* @entry: To support list of extcon devices so that users can
* search for extcon devices based on the extcon name.
@@ -43,6 +45,7 @@ struct extcon_dev {
/* Internal data. Please do not set. */
struct device dev;
+ struct raw_notifier_head nh_all;
struct raw_notifier_head *nh;
struct list_head entry;
int max_supported;