Messages in this thread Patch in this message | | | Date | Fri, 22 Jul 2005 23:33:41 +0200 | From | Adrian Bunk <> | Subject | [2.6 patch] ftape: fix warnings with -Wundef |
| |
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--- 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |