[PATCH 3/4] ARM/dma-mapping: don't handle NULL devices in dma-direct.h

Christoph Hellwig hch at lst.de
Fri Sep 18 01:10:30 EDT 2020


On Thu, Sep 17, 2020 at 07:50:10PM +0100, Russell King - ARM Linux admin wrote:
> On Thu, Sep 17, 2020 at 07:32:28PM +0200, Christoph Hellwig wrote:
> > The DMA API removed support for not passing in a device a long time
> > ago, so remove the NULL checks.
> 
> What happens with ISA devices?

For actual drivers they've been switched to struct isa_driver, which
provides a struct device.  For some of the special case like the
arch/arm/kernel/dma-isa.c we now use static struct device instances.



More information about the linux-arm-kernel mailing list