[2.6 patch] ftape: fix warnings with -Wundef

From: Adrian Bunk
Date: Fri Jul 22 2005 - 16:35:12 EST


Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.13-rc3-mm1-full/include/linux/ftape.h.old 2005-07-22 18:17:18.000000000 +0200
+++ linux-2.6.13-rc3-mm1-full/include/linux/ftape.h 2005-07-22 18:17:41.000000000 +0200
@@ -165,7 +165,7 @@
# 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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/