]> err.no Git - linux-2.6/blobdiff - include/linux/ftape.h
[PATCH] i2c-piix4: Add ATI IXP200/300/400 support
[linux-2.6] / include / linux / ftape.h
index c6b38d5b9186d15abbceed29800bf073d3f0cf51..7e7038cba86a880a84cd2420d862ddadc7d40c3e 100644 (file)
@@ -35,7 +35,6 @@
 #include <linux/mm.h>
 #endif
 #include <linux/types.h>
-#include <linux/config.h>
 #include <linux/mtio.h>
 
 #define FT_SECTOR(x)           (x+1)   /* sector offset into real sector */
@@ -165,7 +164,7 @@ typedef union {
 #  undef  CONFIG_FT_FDC_DMA
 #  define CONFIG_FT_FDC_DMA 2
 # endif
-#elif CONFIG_FT_ALT_FDC == 1  /* CONFIG_FT_MACH2 */
+#elif defined(CONFIG_FT_ALT_FDC)  /* CONFIG_FT_MACH2 */
 # if CONFIG_FT_FDC_BASE == 0
 #  undef  CONFIG_FT_FDC_BASE
 #  define CONFIG_FT_FDC_BASE 0x370