diff options
author | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-08-11 09:47:12 -0400 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-08-11 12:07:44 -0400 |
commit | 9805d4bcf8f98dbeb1a66c3195f2ea8b917a083e (patch) | |
tree | 5143ac5bb0d200788d2d635ed269c8ffef492df8 | |
parent | d0eea5d8db42a9fbf89943253908579865a3eaad (diff) |
mtd: rawnand: atmel: Select GENERIC_ALLOCATOR
The driver uses genalloc functions. Select GENERIC_ALLOCATOR to prevent
build errors when selected through COMPILE_TEST.
Fixes: 88a40e7dca00 ("mtd: rawnand: atmel: Allow selection of this driver when COMPILE_TEST=y")
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Acked-by: Miquel Raynal <miquel.raynal@bootlin.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
-rw-r--r-- | drivers/mtd/nand/raw/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/nand/raw/Kconfig b/drivers/mtd/nand/raw/Kconfig index b6738ece16f1..5fc9a1bde4ac 100644 --- a/drivers/mtd/nand/raw/Kconfig +++ b/drivers/mtd/nand/raw/Kconfig | |||
@@ -279,6 +279,7 @@ config MTD_NAND_ATMEL | |||
279 | tristate "Support for NAND Flash / SmartMedia on AT91" | 279 | tristate "Support for NAND Flash / SmartMedia on AT91" |
280 | depends on ARCH_AT91 || COMPILE_TEST | 280 | depends on ARCH_AT91 || COMPILE_TEST |
281 | depends on HAS_IOMEM | 281 | depends on HAS_IOMEM |
282 | select GENERIC_ALLOCATOR | ||
282 | select MFD_ATMEL_SMC | 283 | select MFD_ATMEL_SMC |
283 | help | 284 | help |
284 | Enables support for NAND Flash / Smart Media Card interface | 285 | Enables support for NAND Flash / Smart Media Card interface |