summaryrefslogtreecommitdiff
path: root/drivers/pcmcia/marubun_pcmcia.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-05-18 19:09:50 +0200
committerWolfgang Denk <wd@denx.de>2008-06-26 17:01:41 +0200
commitc9eff32881fb429101c937cf8c268f1d42e5c2a9 (patch)
treeb9ebd42e7abfb37b454690ee0b0c22d169727cd9 /drivers/pcmcia/marubun_pcmcia.c
parent914f58c5766860373a7d232e961cee5a4b54a55b (diff)
downloadu-boot-imx-c9eff32881fb429101c937cf8c268f1d42e5c2a9.zip
u-boot-imx-c9eff32881fb429101c937cf8c268f1d42e5c2a9.tar.gz
u-boot-imx-c9eff32881fb429101c937cf8c268f1d42e5c2a9.tar.bz2
marabun_pcmcia: Move compile condition to the Makefile
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'drivers/pcmcia/marubun_pcmcia.c')
-rw-r--r--drivers/pcmcia/marubun_pcmcia.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/pcmcia/marubun_pcmcia.c b/drivers/pcmcia/marubun_pcmcia.c
index a213092..d075ba3 100644
--- a/drivers/pcmcia/marubun_pcmcia.c
+++ b/drivers/pcmcia/marubun_pcmcia.c
@@ -31,12 +31,11 @@
#define CONFIG_PCMCIA
#endif
-#if defined(CONFIG_CMD_IDE)
+#if defined(CONFIG_CMD_IDE)
#define CONFIG_PCMCIA
#endif
-#if defined(CONFIG_PCMCIA) \
- && (defined(CONFIG_MARUBUN_PCCARD))
+#if defined(CONFIG_PCMCIA)
/* MR-SHPC-01 register */
#define MRSHPC_MODE (CFG_MARUBUN_MRSHPC + 4)
@@ -112,4 +111,4 @@ int pcmcia_off (void)
return 0;
}
-#endif /* CONFIG_MARUBUN_PCCARD */
+#endif /* CONFIG_PCMCIA */