Commit 9c8a013a authored by Kishon Vijay Abraham I's avatar Kishon Vijay Abraham I Committed by Greg Kroah-Hartman

extcon: add EXPORT_SYMBOL_GPL for exported functions

Added EXPORT_SYMBOL_GPL() for extcon_register_interest and
extcon_register_notifier in order to avoid undefined reference
error when building the consumer modules of extcon as _modules_.
Signed-off-by: default avatarKishon Vijay Abraham I <>
Signed-off-by: default avatarLokesh Vutla <>
Signed-off-by: default avatarChanwoo Choi <>
Signed-off-by: default avatarMyungjoo Ham <>
Signed-off-by: default avatarGreg Kroah-Hartman <>
parent ea9dd9d6
......@@ -481,6 +481,7 @@ int extcon_register_interest(struct extcon_specific_cable_nb *obj,
return -ENODEV;
* extcon_unregister_interest() - Unregister the notifier registered by
......@@ -495,6 +496,7 @@ int extcon_unregister_interest(struct extcon_specific_cable_nb *obj)
return raw_notifier_chain_unregister(&obj->edev->nh, &obj->internal_nb);
* extcon_register_notifier() - Register a notifiee to get notified by
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment