diff options
author | Nathan Fontenot <nfont@linux.vnet.ibm.com> | 2012-11-28 04:42:26 -0500 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2012-11-29 01:05:48 -0500 |
commit | 1a9bd45412665e73c72612b6f744378d860e02a8 (patch) | |
tree | 8b01fe31c543f4958ffa672fb9902bb3a75a592f | |
parent | 3991782ea3e41412f8a665cd6ce66943d76aff8a (diff) |
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.c | 2 |
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) | |||
1197 | { | 1197 | { |
1198 | return blocking_notifier_chain_register(&of_reconfig_chain, nb); | 1198 | return blocking_notifier_chain_register(&of_reconfig_chain, nb); |
1199 | } | 1199 | } |
1200 | EXPORT_SYMBOL_GPL(of_reconfig_notifier_register); | ||
1200 | 1201 | ||
1201 | int of_reconfig_notifier_unregister(struct notifier_block *nb) | 1202 | int of_reconfig_notifier_unregister(struct notifier_block *nb) |
1202 | { | 1203 | { |
1203 | return blocking_notifier_chain_unregister(&of_reconfig_chain, nb); | 1204 | return blocking_notifier_chain_unregister(&of_reconfig_chain, nb); |
1204 | } | 1205 | } |
1206 | EXPORT_SYMBOL_GPL(of_reconfig_notifier_unregister); | ||
1205 | 1207 | ||
1206 | int of_reconfig_notify(unsigned long action, void *p) | 1208 | int of_reconfig_notify(unsigned long action, void *p) |
1207 | { | 1209 | { |