]> git.sur5r.net Git - u-boot/commitdiff
pcmcia: Remove CONFIG_COMMANDS from marubun pcmcia driver
authorNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Tue, 15 Jan 2008 08:48:13 +0000 (17:48 +0900)
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Tue, 15 Jan 2008 14:30:40 +0000 (23:30 +0900)
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
drivers/pcmcia/marubun_pcmcia.c

index 7b112af922671fd8296eef3fcbe94c24044b79d7..2479a6662afaeed4a8bab52f9e202f1f54bd5807 100644 (file)
 #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