]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - drivers/pcmcia/mpc8xx_pcmcia.c
mpc8xx_pcmcia: move CONFIG_8xx out of .c file and into Makefile
[karo-tx-uboot.git] / drivers / pcmcia / mpc8xx_pcmcia.c
index 95ea5e999f518b6e0918613842b18ab1b07c1188..70305748c812d31f54ceeeb0696707096e32ec36 100644 (file)
@@ -1,7 +1,5 @@
 #include <common.h>
-#if defined(CONFIG_8xx)
 #include <mpc8xx.h>
-#endif
 #include <pcmcia.h>
 
 #undef CONFIG_PCMCIA
@@ -14,7 +12,7 @@
 #define        CONFIG_PCMCIA
 #endif
 
-#if defined(CONFIG_8xx)        && defined(CONFIG_PCMCIA)
+#if defined(CONFIG_PCMCIA)
 
 #if    defined(CONFIG_IDE_8xx_PCCARD)
 extern int check_ide_device (int slot);
@@ -301,4 +299,4 @@ static u_int m8xx_get_speed(u_int ns, u_int is_io)
 }
 #endif /* 0 */
 
-#endif /* CONFIG_8xx && CONFIG_PCMCIA */
+#endif /* CONFIG_PCMCIA */