Skip to content

Commit 18331b9

Browse files
Boris Brezillonmiquelraynal
authored andcommitted
mtd: rawnand: sharpsl: Allow selection of this driver when COMPILE_TEST=y
It just makes NAND maintainers' life easier by allowing them to compile-test this driver without having ARCH_PXA enabled. We also need to add a dependency on HAS_IOMEM to make sure the driver compiles correctly. Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
1 parent b22a8b0 commit 18331b9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎drivers/mtd/nand/raw/Kconfig‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,8 @@ config MTD_NAND_DOCG4
249249

250250
config MTD_NAND_SHARPSL
251251
tristate "Support for NAND Flash on Sharp SL Series (C7xx + others)"
252-
depends on ARCH_PXA
252+
depends on ARCH_PXA || COMPILE_TEST
253+
depends on HAS_IOMEM
253254

254255
config MTD_NAND_CAFE
255256
tristate "NAND support for OLPC CAFÉ chip"

0 commit comments

Comments
 (0)