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>
This commit is contained in:
parent
3991782ea3
commit
1a9bd45412
|
@ -1197,11 +1197,13 @@ int of_reconfig_notifier_register(struct notifier_block *nb)
|
||||||
{
|
{
|
||||||
return blocking_notifier_chain_register(&of_reconfig_chain, 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)
|
int of_reconfig_notifier_unregister(struct notifier_block *nb)
|
||||||
{
|
{
|
||||||
return blocking_notifier_chain_unregister(&of_reconfig_chain, 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)
|
int of_reconfig_notify(unsigned long action, void *p)
|
||||||
{
|
{
|
||||||
|
|
Reference in New Issue