提交 9f1ee150 编写于 作者: M Marek Vasut 提交者: Eric Miao

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

Reported-by: NRafael Gandolfi <kaillasse91@hotmail.fr>
Signed-off-by: NMarek Vasut <marek.vasut@gmail.com>
Signed-off-by: NEric Miao <eric.y.miao@gmail.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册