]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
mtd: rawnand: atmel: Select GENERIC_ALLOCATOR
authorBoris Brezillon <boris.brezillon@bootlin.com>
Sat, 11 Aug 2018 13:47:12 +0000 (15:47 +0200)
committerBoris Brezillon <boris.brezillon@bootlin.com>
Sat, 11 Aug 2018 16:07:44 +0000 (18:07 +0200)
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>
drivers/mtd/nand/raw/Kconfig

index b6738ece16f1318026f4489521291d2f869f742e..5fc9a1bde4ac2e6d6e8475ab92c81342395d03d7 100644 (file)
@@ -279,6 +279,7 @@ config MTD_NAND_ATMEL
        tristate "Support for NAND Flash / SmartMedia on AT91"
        depends on ARCH_AT91 || COMPILE_TEST
        depends on HAS_IOMEM
+       select GENERIC_ALLOCATOR
        select MFD_ATMEL_SMC
        help
          Enables support for NAND Flash / Smart Media Card interface