lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Fri, 29 May 2015 09:04:15 -0500 From: Rob Herring <robherring2@...il.com> To: Laurent Pinchart <laurent.pinchart+renesas@...asonboard.com> Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>, Laura Abbott <lauraa@...eaurora.org>, Arnd Bergmann <arnd@...db.de>, Robin Murphy <robin.murphy@....com>, Joreg Roedel <joro@...tes.org>, Will Deacon <will.deacon@....com>, Linux IOMMU <iommu@...ts.linux-foundation.org>, Thierry Reding <thierry.reding@...il.com>, Greg Kroah-Hartman <gregkh@...uxfoundation.org>, Grant Likely <grant.likely@...aro.org>, Mitchel Humpherys <mitchelh@...eaurora.org>, "linux-arm-kernel@...ts.infradead.org" <linux-arm-kernel@...ts.infradead.org>, Marek Szyprowski <m.szyprowski@...sung.com> Subject: Re: [RFC/PATCH 4/9] of: dma: Make of_dma_deconfigure() public On Thu, May 14, 2015 at 6:00 PM, Laurent Pinchart <laurent.pinchart+renesas@...asonboard.com> wrote: > As part of moving DMA initializing to probe time the > of_dma_deconfigure() function will need to be called from different > source files. Make it public and move it to drivers/of/device.c where > the of_dma_configure() function is. > > Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@...asonboard.com> One minor fix below, but otherwise: Acked-by: Rob Herring <robh@...nel.org> > --- > drivers/of/device.c | 12 ++++++++++++ > drivers/of/platform.c | 5 ----- > include/linux/of_device.h | 3 +++ > 3 files changed, 15 insertions(+), 5 deletions(-) > > diff --git a/drivers/of/device.c b/drivers/of/device.c > index 530aa1ed3e1b..f1b84f464fe1 100644 > --- a/drivers/of/device.c > +++ b/drivers/of/device.c > @@ -135,6 +135,18 @@ void of_dma_configure(struct device *dev, struct device_node *np) > } > EXPORT_SYMBOL_GPL(of_dma_configure); > > +/** > + * of_dma_deconfigure - Clean up DMA configuration > + * @dev: Device for which to clean up DMA configuration > + * > + * Clean up all configuration performed by of_dma_configure_ops() and free all > + * resources that have been allocated. > + */ > +void of_dma_deconfigure(struct device *dev) > +{ > + arch_teardown_dma_ops(dev); > +} You need an EXPORT_SYMBOL_GPL -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists