summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Fontenot <nfont@linux.vnet.ibm.com>2012-11-28 13:42:26 +0400
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2012-11-29 10:05:48 +0400
commit1a9bd45412665e73c72612b6f744378d860e02a8 (patch)
tree8b01fe31c543f4958ffa672fb9902bb3a75a592f
parent3991782ea3e41412f8a665cd6ce66943d76aff8a (diff)
downloadlinux-1a9bd45412665e73c72612b6f744378d860e02a8.tar.xz
powerpc+of: Export of_reconfig_notifier_[register,unregister]
The of reconfiguration notification chains should be exported for use by modules. Signed-off-by:Nathan Fontenot <nfont@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
-rw-r--r--drivers/of/base.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/of/base.c b/drivers/of/base.c
index 02d94c4ea83c..fa40402fe8d5 100644
--- a/drivers/of/base.c
+++ b/drivers/of/base.c
@@ -1197,11 +1197,13 @@ int of_reconfig_notifier_register(struct notifier_block *nb)
{
return blocking_notifier_chain_register(&of_reconfig_chain, nb);
}
+EXPORT_SYMBOL_GPL(of_reconfig_notifier_register);
int of_reconfig_notifier_unregister(struct notifier_block *nb)
{
return blocking_notifier_chain_unregister(&of_reconfig_chain, nb);
}
+EXPORT_SYMBOL_GPL(of_reconfig_notifier_unregister);
int of_reconfig_notify(unsigned long action, void *p)
{