[PATCH] -Wundef fixes (hisax)

From: viro
Date: Wed Sep 07 2005 - 17:20:03 EST


CARD_... in hisax are all used with #if; CARD_FN_ENTERNOW_PCI lacks define
to 0 if corresponding config option is not set.

Signed-off-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
----
diff -urN RC13-git7-uml-mem/drivers/isdn/hisax/hisax.h RC13-git7-hisax/drivers/isdn/hisax/hisax.h
--- RC13-git7-uml-mem/drivers/isdn/hisax/hisax.h 2005-09-07 13:55:17.000000000 -0400
+++ RC13-git7-hisax/drivers/isdn/hisax/hisax.h 2005-09-07 13:55:43.000000000 -0400
@@ -1241,6 +1241,8 @@

#ifdef CONFIG_HISAX_ENTERNOW_PCI
#define CARD_FN_ENTERNOW_PCI 1
+#else
+#define CARD_FN_ENTERNOW_PCI 0
#endif

#define TEI_PER_CARD 1
-
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/