]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[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 6eb96cba4d299375e3d143a7c5b8366841a58dd5..26c545fa223be8672a5e3cace0e4377b04af48a2 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