Messages in this thread | | | Date | Thu, 23 Jan 2020 19:22:02 +0100 | From | "" <> | Subject | Re: [PATCH] lib: devres: Export devm_ioremap_resource_wc |
| |
On Thu, Jan 23, 2020 at 08:16:35PM +0200, Daniel Baluta wrote: > On Thu, Jan 23, 2020 at 7:57 PM gregkh@linuxfoundation.org > <gregkh@linuxfoundation.org> wrote: > > > > On Thu, Jan 23, 2020 at 03:47:21PM +0000, Daniel Baluta (OSS) wrote: > > > From: Daniel Baluta <daniel.baluta@nxp.com> > > > > > > So that modules can also use it. > > > > > > Fixes: b873af620e58863b ("lib: devres: provide devm_ioremap_resource_wc()") > > > Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com> > > > --- > > > lib/devres.c | 1 + > > > 1 file changed, 1 insertion(+) > > > > > > diff --git a/lib/devres.c b/lib/devres.c > > > index 6ef51f159c54..7fe2bd75dfa3 100644 > > > --- a/lib/devres.c > > > +++ b/lib/devres.c > > > @@ -182,6 +182,7 @@ void __iomem *devm_ioremap_resource_wc(struct device *dev, > > > { > > > return __devm_ioremap_resource(dev, res, DEVM_IOREMAP_WC); > > > } > > > +EXPORT_SYMBOL(devm_ioremap_resource_wc); > > > > EXPORT_SYMBOL_GPL() perhaps? > > > > What in-tree driver needs this? > > I was experimenting with an out of tree driver and I also was using it wrong :D. > Indeed looks like there is no real potential user so far in the kernel tree.
Great, we can drop it then :)
thanks,
greg k-h
| |