summaryrefslogtreecommitdiff
path: root/drivers/pcmcia/marubun_pcmcia.c
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <iwamatsu@nigauri.org>2008-01-15 17:48:13 +0900
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>2008-01-15 23:30:40 +0900
commitf91d7ae5ca89acf9fa1ed1015dc078cf29581607 (patch)
tree08520bc0ea53cd8b25f2a714d0c0d686b518755a /drivers/pcmcia/marubun_pcmcia.c
parent76e49aa7fb8e76cc49092c1acd53fff921e26360 (diff)
downloadu-boot-imx-f91d7ae5ca89acf9fa1ed1015dc078cf29581607.zip
u-boot-imx-f91d7ae5ca89acf9fa1ed1015dc078cf29581607.tar.gz
u-boot-imx-f91d7ae5ca89acf9fa1ed1015dc078cf29581607.tar.bz2
pcmcia: Remove CONFIG_COMMANDS from marubun pcmcia driver
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'drivers/pcmcia/marubun_pcmcia.c')
-rw-r--r--drivers/pcmcia/marubun_pcmcia.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/pcmcia/marubun_pcmcia.c b/drivers/pcmcia/marubun_pcmcia.c
index 7b112af..2479a66 100644
--- a/drivers/pcmcia/marubun_pcmcia.c
+++ b/drivers/pcmcia/marubun_pcmcia.c
@@ -25,11 +25,13 @@
#include <pcmcia.h>
#include <asm/io.h>
-#if (CONFIG_COMMANDS & CFG_CMD_PCMCIA)
+#undef CONFIG_PCMCIA
+
+#if defined(CONFIG_CMD_PCMCIA)
#define CONFIG_PCMCIA
#endif
-#if (CONFIG_COMMANDS & CFG_CMD_IDE)
+#if defined(CONFIG_CMD_IDE)
#define CONFIG_PCMCIA
#endif