| Submitter | Nathan Fontenot |
|---|---|
| Date | Nov. 28, 2012, 7:42 p.m. |
| Message ID | <50B66922.9090209@linux.vnet.ibm.com> |
| Download | mbox | patch |
| Permalink | /patch/202538/ |
| State | Accepted |
| Headers | show |
Comments
On Wed, 2012-11-28 at 13:42 -0600, Nathan Fontenot wrote: > The of reconfiguration notification chains should be exported for use > by modules. > > Signed-off-by:Nathan Fontenot <nfont@linux.vnet.ibm.com> Grant, I'm applying that into the powerpc tree (with a slightly modified subject line). You don't need to add it to your tree at this stage I suspect. Cheers, Ben. > --- > Index: linux-next/drivers/of/base.c > =================================================================== > --- linux-next.orig/drivers/of/base.c 2012-11-28 09:18:02.000000000 -0600 > +++ linux-next/drivers/of/base.c 2012-11-28 11:05:00.000000000 -0600 > @@ -1282,11 +1282,13 @@ > { > 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) > { > > -- > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/
Patch
Index: linux-next/drivers/of/base.c =================================================================== --- linux-next.orig/drivers/of/base.c 2012-11-28 09:18:02.000000000 -0600 +++ linux-next/drivers/of/base.c 2012-11-28 11:05:00.000000000 -0600 @@ -1282,11 +1282,13 @@ { 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) {