summaryrefslogtreecommitdiff
path: root/drivers/extcon/extcon-class.c
diff options
context:
space:
mode:
authorKishon Vijay Abraham I <kishon@ti.com>2013-06-04 01:13:38 +0900
committerChanho Park <chanho61.park@samsung.com>2014-11-18 11:44:56 +0900
commitf0b0cb3ae56084e5f5a6a26b130204d112691257 (patch)
tree1978f0951a8dc505822b00455a3e87637f665789 /drivers/extcon/extcon-class.c
parent1bba9e80bd2294c0120e50b425cdc9ca2ca2987d (diff)
downloadlinux-3.10-f0b0cb3ae56084e5f5a6a26b130204d112691257.tar.gz
linux-3.10-f0b0cb3ae56084e5f5a6a26b130204d112691257.tar.bz2
linux-3.10-f0b0cb3ae56084e5f5a6a26b130204d112691257.zip
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/extcon-class.c')
-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 972b157b010..77fcac5cd00 100644
--- a/drivers/extcon/extcon-class.c
+++ b/drivers/extcon/extcon-class.c
@@ -507,6 +507,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
@@ -521,6 +522,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