Re: [PATCH] mtd: nand: MTD_NAND_SH_FLCTL should depend on HAS_DMA

2014-02-21 Thread Brian Norris
Hi Geert, On Fri, Feb 21, 2014 at 09:27:27PM +0100, Laurent Pinchart wrote: > On Friday 21 February 2014 20:54:34 Geert Uytterhoeven wrote: > > If NO_DMA=y: > > > > drivers/built-in.o: In function `flctl_dma_fifo0_transfer': > > sh_flctl.c:(.text+0x210398): undefined reference to

Re: [PATCH] mtd: nand: MTD_NAND_SH_FLCTL should depend on HAS_DMA

2014-02-21 Thread Laurent Pinchart
Hi Geert, Thank you for the patch. On Friday 21 February 2014 20:54:34 Geert Uytterhoeven wrote: > If NO_DMA=y: > > drivers/built-in.o: In function `flctl_dma_fifo0_transfer': > sh_flctl.c:(.text+0x210398): undefined reference to `dma_map_single' > sh_flctl.c:(.text+0x2104b0):

[PATCH] mtd: nand: MTD_NAND_SH_FLCTL should depend on HAS_DMA

2014-02-21 Thread Geert Uytterhoeven
If NO_DMA=y: drivers/built-in.o: In function `flctl_dma_fifo0_transfer': sh_flctl.c:(.text+0x210398): undefined reference to `dma_map_single' sh_flctl.c:(.text+0x2104b0): undefined reference to `dma_unmap_single' Signed-off-by: Geert Uytterhoeven --- drivers/mtd/nand/Kconfig |1

Re: [PATCH] mtd: nand: MTD_NAND_SH_FLCTL should depend on HAS_DMA

2014-02-21 Thread Laurent Pinchart
Hi Geert, Thank you for the patch. On Friday 21 February 2014 20:54:34 Geert Uytterhoeven wrote: If NO_DMA=y: drivers/built-in.o: In function `flctl_dma_fifo0_transfer': sh_flctl.c:(.text+0x210398): undefined reference to `dma_map_single' sh_flctl.c:(.text+0x2104b0): undefined

Re: [PATCH] mtd: nand: MTD_NAND_SH_FLCTL should depend on HAS_DMA

2014-02-21 Thread Brian Norris
Hi Geert, On Fri, Feb 21, 2014 at 09:27:27PM +0100, Laurent Pinchart wrote: On Friday 21 February 2014 20:54:34 Geert Uytterhoeven wrote: If NO_DMA=y: drivers/built-in.o: In function `flctl_dma_fifo0_transfer': sh_flctl.c:(.text+0x210398): undefined reference to `dma_map_single'

[PATCH] mtd: nand: MTD_NAND_SH_FLCTL should depend on HAS_DMA

2014-02-21 Thread Geert Uytterhoeven
If NO_DMA=y: drivers/built-in.o: In function `flctl_dma_fifo0_transfer': sh_flctl.c:(.text+0x210398): undefined reference to `dma_map_single' sh_flctl.c:(.text+0x2104b0): undefined reference to `dma_unmap_single' Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org ---