diff options
| author | Chanwoo Choi <[email protected]> | 2018-03-21 13:58:23 +0900 |
|---|---|---|
| committer | Chanwoo Choi <[email protected]> | 2018-03-21 13:58:23 +0900 |
| commit | eb7768e774d12eac1189984a62925bc3bb386e13 (patch) | |
| tree | 5d27211a79cf77c509bca923ab7e49709a50ca95 /include/linux | |
| parent | d368e7de5e8bac32a9121608a7d4c96a229d5af2 (diff) | |
| parent | 688838442147d9dd94c2ef7c2c31a35cf150c5fa (diff) | |
Merge branch 'ib-extcon-drm-dt-v4.17' into extcon-next
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/extcon.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/extcon.h b/include/linux/extcon.h index 6d94e82c8ad9..7f033b1ea568 100644 --- a/include/linux/extcon.h +++ b/include/linux/extcon.h @@ -230,6 +230,7 @@ extern void devm_extcon_unregister_notifier_all(struct device *dev, * Following APIs get the extcon_dev from devicetree or by through extcon name. */ extern struct extcon_dev *extcon_get_extcon_dev(const char *extcon_name); +extern struct extcon_dev *extcon_find_edev_by_node(struct device_node *node); extern struct extcon_dev *extcon_get_edev_by_phandle(struct device *dev, int index); @@ -283,6 +284,11 @@ static inline struct extcon_dev *extcon_get_extcon_dev(const char *extcon_name) return ERR_PTR(-ENODEV); } +static inline struct extcon_dev *extcon_find_edev_by_node(struct device_node *node) +{ + return ERR_PTR(-ENODEV); +} + static inline struct extcon_dev *extcon_get_edev_by_phandle(struct device *dev, int index) { |