Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9805d4bc authored by Boris Brezillon's avatar Boris Brezillon
Browse files

mtd: rawnand: atmel: Select GENERIC_ALLOCATOR



The driver uses genalloc functions. Select GENERIC_ALLOCATOR to prevent
build errors when selected through COMPILE_TEST.

Fixes: 88a40e7d ("mtd: rawnand: atmel: Allow selection of this driver when COMPILE_TEST=y")
Reported-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Signed-off-by: default avatarBoris Brezillon <boris.brezillon@bootlin.com>
Acked-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
Acked-by: default avatarRandy Dunlap <rdunlap@infradead.org>
parent d0eea5d8
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -279,6 +279,7 @@ config MTD_NAND_ATMEL
	tristate "Support for NAND Flash / SmartMedia on AT91"
	tristate "Support for NAND Flash / SmartMedia on AT91"
	depends on ARCH_AT91 || COMPILE_TEST
	depends on ARCH_AT91 || COMPILE_TEST
	depends on HAS_IOMEM
	depends on HAS_IOMEM
	select GENERIC_ALLOCATOR
	select MFD_ATMEL_SMC
	select MFD_ATMEL_SMC
	help
	help
	  Enables support for NAND Flash / Smart Media Card interface
	  Enables support for NAND Flash / Smart Media Card interface