X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=drivers%2Fextcon%2Fextcon.h;h=dddddcfa05873ed9ad8e77779515c509f2499d8e;hb=a5707eef798b57ff5a2e56fca435dff616019b7e;hp=993ddccafe113af072151ebbdc0b16571c63f793;hpb=affb852d2fa260402cbdc77976adb0dcda3b5fae;p=karo-tx-linux.git 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;