diff options
author | Richard Weinberger <richard@nod.at> | 2016-01-25 23:24:10 +0100 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2016-01-26 20:30:31 +0100 |
commit | 15c0be7bec002f9a529dd0966d0db96dde176fd0 (patch) | |
tree | b0fa4c3042d05a177c3734fdf52d15aa68ede52e /drivers/mtd/spi-nor/Kconfig | |
parent | mtd: nand: vf610: remove useless mtd->ecclayout assignment (diff) | |
download | linux-15c0be7bec002f9a529dd0966d0db96dde176fd0.tar.xz linux-15c0be7bec002f9a529dd0966d0db96dde176fd0.zip |
mtd: Fix dependencies for !HAS_IOMEM archs
Not every arch has io memory.
So, unbreak the build by fixing the dependencies.
Signed-off-by: Richard Weinberger <richard@nod.at>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/spi-nor/Kconfig')
-rw-r--r-- | drivers/mtd/spi-nor/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/spi-nor/Kconfig b/drivers/mtd/spi-nor/Kconfig index 0dc927540b3d..83befab4b5b4 100644 --- a/drivers/mtd/spi-nor/Kconfig +++ b/drivers/mtd/spi-nor/Kconfig @@ -9,6 +9,7 @@ if MTD_SPI_NOR config MTD_MT81xx_NOR tristate "Mediatek MT81xx SPI NOR flash controller" + depends on HAS_IOMEM help This enables access to SPI NOR flash, using MT81xx SPI NOR flash controller. This controller does not support generic SPI BUS, it only |