[PATCH] -Wundef fixes (hisax)
authorviro@ZenIV.linux.org.uk <viro@ZenIV.linux.org.uk>
Wed, 7 Sep 2005 22:19:41 +0000 (23:19 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 8 Sep 2005 00:17:33 +0000 (17:17 -0700)
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@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/isdn/hisax/hisax.h

index 6eb96cb..26c545f 100644 (file)
@@ -1241,6 +1241,8 @@ struct IsdnCardState {
 
 #ifdef CONFIG_HISAX_ENTERNOW_PCI
 #define CARD_FN_ENTERNOW_PCI 1
+#else
+#define CARD_FN_ENTERNOW_PCI 0
 #endif
 
 #define TEI_PER_CARD 1