[MTD] [NAND] GPIO driver depends on ARM... for now.

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Mon Oct 20 04:59:01 EDT 2008


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=7d28e0d1e55442d198f7c35626d2c460ac04cab2
Commit:     7d28e0d1e55442d198f7c35626d2c460ac04cab2
Parent:     35a347991cb7da5540fcdbef57800c02bafcb0b3
Author:     David Woodhouse <David.Woodhouse at intel.com>
AuthorDate: Mon Oct 20 09:24:43 2008 +0100
Committer:  David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Mon Oct 20 09:24:43 2008 +0100

    [MTD] [NAND] GPIO driver depends on ARM... for now.
    
    Not all architectures provide readsb(). We should probably move to using
    ioread8_rep() instead.
    
    Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
 drivers/mtd/nand/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig
index b9eed99..1c2e945 100644
--- a/drivers/mtd/nand/Kconfig
+++ b/drivers/mtd/nand/Kconfig
@@ -58,7 +58,7 @@ config MTD_NAND_H1900
 
 config MTD_NAND_GPIO
 	tristate "GPIO NAND Flash driver"
-	depends on GENERIC_GPIO
+	depends on GENERIC_GPIO && ARM
 	help
 	  This enables a GPIO based NAND flash driver.
 



More information about the linux-mtd-cvs mailing list