diff options
author | Marek Vasut <marek.vasut@gmail.com> | 2010-11-06 23:34:03 +0100 |
---|---|---|
committer | Eric Miao <eric.y.miao@gmail.com> | 2010-11-30 13:14:05 +0100 |
commit | 9f1ee150fc7039eb65039ab17d9a95dfa6250133 (patch) | |
tree | a046eb1eb39f36148de40009a1a03adae1f38c18 | |
parent | ARM: pxa: fix pxa2xx-flash section mismatch (diff) | |
download | linux-9f1ee150fc7039eb65039ab17d9a95dfa6250133.tar.xz linux-9f1ee150fc7039eb65039ab17d9a95dfa6250133.zip |
ARM: pxa/palm: fix ifdef around gen_nand driver registration
Reported-by: Rafael Gandolfi <kaillasse91@hotmail.fr>
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
-rw-r--r-- | arch/arm/mach-pxa/palmtx.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-pxa/palmtx.c b/arch/arm/mach-pxa/palmtx.c index d2060a1d1d68..e5c9932b7588 100644 --- a/arch/arm/mach-pxa/palmtx.c +++ b/arch/arm/mach-pxa/palmtx.c @@ -241,7 +241,8 @@ static inline void palmtx_keys_init(void) {} /****************************************************************************** * NAND Flash ******************************************************************************/ -#if defined(CONFIG_MTD_NAND_GPIO) || defined(CONFIG_MTD_NAND_GPIO_MODULE) +#if defined(CONFIG_MTD_NAND_PLATFORM) || \ + defined(CONFIG_MTD_NAND_PLATFORM_MODULE) static void palmtx_nand_cmd_ctl(struct mtd_info *mtd, int cmd, unsigned int ctrl) { |