From: Kishon Vijay Abraham I Date: Mon, 3 Jun 2013 16:13:38 +0000 (+0900) Subject: extcon: add EXPORT_SYMBOL_GPL for exported functions X-Git-Tag: v3.12-rc1~556^2~38 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9c8a013af49cb82a1a47bede56e8ce5efd93b734;p=kernel%2Fkernel-generic.git 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: Kishon Vijay Abraham I Signed-off-by: Lokesh Vutla Signed-off-by: Chanwoo Choi Signed-off-by: Myungjoo Ham Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/extcon/extcon-class.c b/drivers/extcon/extcon-class.c index a5a03ae..8c69803 100644 --- a/drivers/extcon/extcon-class.c +++ b/drivers/extcon/extcon-class.c @@ -481,6 +481,7 @@ int extcon_register_interest(struct extcon_specific_cable_nb *obj, return -ENODEV; } } +EXPORT_SYMBOL_GPL(extcon_register_interest); /** * 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); } +EXPORT_SYMBOL_GPL(extcon_unregister_interest); /** * extcon_register_notifier() - Register a notifiee to get notified by