aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/extcon
diff options
context:
space:
mode:
authorKishon Vijay Abraham I <kishon@ti.com>2013-06-03 12:13:38 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-06-17 19:03:35 -0400
commit9c8a013af49cb82a1a47bede56e8ce5efd93b734 (patch)
treeaf0736309836b237c8745569800d63c45dc755c5 /drivers/extcon
parentea9dd9d655adf16b083b79ad84e5b012543f659f (diff)
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 <kishon@ti.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com> Signed-off-by: Myungjoo Ham <myungjoo.ham@samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/extcon')
-rw-r--r--drivers/extcon/extcon-class.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/extcon/extcon-class.c b/drivers/extcon/extcon-class.c
index a5a03ae069ee..8c69803558fe 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,
481 return -ENODEV; 481 return -ENODEV;
482 } 482 }
483} 483}
484EXPORT_SYMBOL_GPL(extcon_register_interest);
484 485
485/** 486/**
486 * extcon_unregister_interest() - Unregister the notifier registered by 487 * extcon_unregister_interest() - Unregister the notifier registered by
@@ -495,6 +496,7 @@ int extcon_unregister_interest(struct extcon_specific_cable_nb *obj)
495 496
496 return raw_notifier_chain_unregister(&obj->edev->nh, &obj->internal_nb); 497 return raw_notifier_chain_unregister(&obj->edev->nh, &obj->internal_nb);
497} 498}
499EXPORT_SYMBOL_GPL(extcon_unregister_interest);
498 500
499/** 501/**
500 * extcon_register_notifier() - Register a notifiee to get notified by 502 * extcon_register_notifier() - Register a notifiee to get notified by