Browse Source

pcmcia: Remove CONFIG_COMMANDS from marubun pcmcia driver

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Nobuhiro Iwamatsu 17 năm trước cách đây
mục cha
commit
f91d7ae5ca
1 tập tin đã thay đổi với 4 bổ sung2 xóa
  1. 4 2
      drivers/pcmcia/marubun_pcmcia.c

+ 4 - 2
drivers/pcmcia/marubun_pcmcia.c

@@ -25,11 +25,13 @@
 #include <pcmcia.h>
 #include <pcmcia.h>
 #include <asm/io.h>
 #include <asm/io.h>
 
 
-#if	(CONFIG_COMMANDS & CFG_CMD_PCMCIA)
+#undef CONFIG_PCMCIA
+
+#if defined(CONFIG_CMD_PCMCIA)
 #define	CONFIG_PCMCIA
 #define	CONFIG_PCMCIA
 #endif
 #endif
 
 
-#if	(CONFIG_COMMANDS & CFG_CMD_IDE)
+#if	defined(CONFIG_CMD_IDE)
 #define	CONFIG_PCMCIA
 #define	CONFIG_PCMCIA
 #endif
 #endif