[PATCH] dma: of: Move the functions under CONFIG_OF_DMA instead of CONFIG_OF

Arnd Bergmann arnd at arndb.de
Fri Feb 28 10:21:50 EST 2014


On Friday 28 February 2014 10:03:10 Santosh Shilimkar wrote:
> > As of 5fa422c922c25 "dmaengine: move drivers/of/dma.c -> drivers/dma/of-dma.c"
> > 
> > which seems to solve the problem already.
> > 
> >> I am not sure but we added couple of functions for dma-ranges
> >> and dma-coherent which gets called from generic code.
> > 
> > These functions have nothing to do with the dmaengine code though,
> > they should be in a different file.
> > 
> Any suggestion on different file ?
 
drivers/of/platform.c would be my first choice. Possibly a new
drivers/of/dma-mapping.c.

	Arnd



More information about the linux-arm-kernel mailing list