[PATCH 0/2] CONFIG_OF vs DMA_OF

2015-08-21 Thread Kuninori Morimoto
Hi Vinod, Mark Current OF base DMAEngine API will be compiled if .config has CONFIG_DMA_OF. but of-dma.h based on CONFIG_OF instead of CONFIG_DMA_OF. These patches tidyup this issue. Please check 1) patch carefully, since DMAEngine API has many dependency to other drivers. > Mark I think 2) pa

Re: CONFIG_OF vs DMA_OF

2015-08-21 Thread Vinod Koul
On Fri, Aug 21, 2015 at 05:35:58AM +, Kuninori Morimoto wrote: > > Hi Vinod > > ${LINUX}/drivers/dma/of-dma.c will be compiled if .config has DMA_OF > > obj-$(CONFIG_DMA_OF) += of-dma.o > > But, ${LINUX}/include/linux/of_dma.h is based on CONFIG_OF Intially it was OF only and then DM

CONFIG_OF vs DMA_OF

2015-08-20 Thread Kuninori Morimoto
Hi Vinod ${LINUX}/drivers/dma/of-dma.c will be compiled if .config has DMA_OF obj-$(CONFIG_DMA_OF) += of-dma.o But, ${LINUX}/include/linux/of_dma.h is based on CONFIG_OF #ifdef CONFIG_OF extern int of_dma_controller_register(struct device_node *np, ... #