Commit 9f1ee150 authored by Marek Vasut's avatar Marek Vasut Committed by Eric Miao

ARM: pxa/palm: fix ifdef around gen_nand driver registration

Reported-by: default avatarRafael Gandolfi <kaillasse91@hotmail.fr>
Signed-off-by: default avatarMarek Vasut <marek.vasut@gmail.com>
Signed-off-by: default avatarEric Miao <eric.y.miao@gmail.com>
parent f9d1bf75
...@@ -241,7 +241,8 @@ static inline void palmtx_keys_init(void) {} ...@@ -241,7 +241,8 @@ static inline void palmtx_keys_init(void) {}
/****************************************************************************** /******************************************************************************
* NAND Flash * 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, static void palmtx_nand_cmd_ctl(struct mtd_info *mtd, int cmd,
unsigned int ctrl) unsigned int ctrl)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment