Commit 1a9bd45412665e73c72612b6f744378d860e02a8

Authored by Nathan Fontenot
Committed by Benjamin Herrenschmidt
1 parent 3991782ea3

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>

Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff

... ... @@ -1197,11 +1197,13 @@
1197 1197 {
1198 1198 return blocking_notifier_chain_register(&of_reconfig_chain, nb);
1199 1199 }
  1200 +EXPORT_SYMBOL_GPL(of_reconfig_notifier_register);
1200 1201  
1201 1202 int of_reconfig_notifier_unregister(struct notifier_block *nb)
1202 1203 {
1203 1204 return blocking_notifier_chain_unregister(&of_reconfig_chain, nb);
1204 1205 }
  1206 +EXPORT_SYMBOL_GPL(of_reconfig_notifier_unregister);
1205 1207  
1206 1208 int of_reconfig_notify(unsigned long action, void *p)
1207 1209 {