summaryrefslogtreecommitdiff
path: root/include/pcmcia.h
diff options
context:
space:
mode:
authorJon Loeliger <jdl@freescale.com>2007-07-09 17:15:49 -0500
committerJon Loeliger <jdl@freescale.com>2007-07-09 17:15:49 -0500
commit639221c76c88215bd55af83ad174fc30d1940f8f (patch)
tree2f2e4fb3752c8abc551c5647a5366ec0936f63f6 /include/pcmcia.h
parentc3517f919d0f61650cf3027fd4faf0f631142f6c (diff)
include/: Remove obsolete references to CONFIG_COMMANDS
Mostly removed from comments here. Signed-off-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'include/pcmcia.h')
-rw-r--r--include/pcmcia.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/pcmcia.h b/include/pcmcia.h
index 60794f90ec9..c028ab735db 100644
--- a/include/pcmcia.h
+++ b/include/pcmcia.h
@@ -31,8 +31,8 @@
* Allow configuration to select PCMCIA slot,
* or try to generate a useful default
*/
-#if (CONFIG_COMMANDS & CFG_CMD_PCMCIA) || defined(CONFIG_CMD_PCMCIA) || \
- (((CONFIG_COMMANDS & CFG_CMD_IDE) || defined(CONFIG_CMD_IDE)) && \
+#if defined(CONFIG_CMD_PCMCIA) || \
+ (defined(CONFIG_CMD_IDE) && \
(defined(CONFIG_IDE_8xx_PCCARD) || defined(CONFIG_IDE_8xx_DIRECT) ) )
#if !defined(CONFIG_PCMCIA_SLOT_A) && !defined(CONFIG_PCMCIA_SLOT_B)
@@ -313,7 +313,7 @@ extern u_int *pcmcia_pgcrx[];
#define PCMCIA_PGCRX(slot) (*pcmcia_pgcrx[slot])
#endif
-#if ((CONFIG_COMMANDS & CFG_CMD_IDE) || defined(CONFIG_CMD_IDE)) && defined(CONFIG_IDE_8xx_PCCARD) \
+#if defined(CONFIG_CMD_IDE) && defined(CONFIG_IDE_8xx_PCCARD) \
|| defined(CONFIG_PXA_PCMCIA)
extern int check_ide_device(int slot);
#endif