diff options
| author | 2014-01-31 13:39:07 +0100 | |
|---|---|---|
| committer | 2014-03-10 22:42:23 -0700 | |
| commit | 3d44dc235ec16fd3db61e1468adabff131d440bc (patch) | |
| tree | 7ccdd205b3b1b017c4d4dec9d733ddf6d50ceb10 /drivers/mtd/nand/nand_base.c | |
| parent | mtd: m25p80: Use positive logic to check JEDEC ID (diff) | |
| download | linux-dev-3d44dc235ec16fd3db61e1468adabff131d440bc.tar.xz linux-dev-3d44dc235ec16fd3db61e1468adabff131d440bc.zip | |
mtd: nand: flctl: Add dependency on HAS_IOMEM and HAS_DMA
On archs like S390 or um this driver cannot build nor work.
Make it depend on HAS_IOMEM and HAS_DMA to bypass build failures.
drivers/built-in.o: In function `flctl_probe':
drivers/mtd/nand/sh_flctl.c:1097: undefined reference to `devm_ioremap_resource'
drivers/built-in.o: In function `flctl_dma_fifo0_transfer':
drivers/mtd/nand/sh_flctl.c:368: undefined reference to `dma_map_single'
drivers/mtd/nand/sh_flctl.c:407: undefined reference to `dma_unmap_single'
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/nand/nand_base.c')
0 files changed, 0 insertions, 0 deletions
