Skip to contentSkip to conversation

ftape: fix warnings with -Wundef

PATCH New Adrian Bunk 1 participant 1 message Jul 22, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ftape: fix warnings with -Wundef

include/linux/ftape.h renamed from include/linux/ftape.h.old +1 -1
@@ -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