summaryrefslogtreecommitdiffstats
path: root/drivers/isdn/hisax/hisax.h
diff options
context:
space:
mode:
authorviro@ZenIV.linux.org.uk <viro@ZenIV.linux.org.uk>2005-09-08 00:19:41 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-08 02:17:33 +0200
commitf718404aa939d2ae19efda8e71f7fa79cbdf1646 (patch)
treebc6dc9f2b47d54947e6bb2da928fe304c8a46757 /drivers/isdn/hisax/hisax.h
parent[PATCH] -Wundef fixes (ncr5380) (diff)
downloadlinux-f718404aa939d2ae19efda8e71f7fa79cbdf1646.tar.xz
linux-f718404aa939d2ae19efda8e71f7fa79cbdf1646.zip
[PATCH] -Wundef fixes (hisax)
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>
Diffstat (limited to 'drivers/isdn/hisax/hisax.h')
-rw-r--r--drivers/isdn/hisax/hisax.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/isdn/hisax/hisax.h b/drivers/isdn/hisax/hisax.h
index 6eb96cba4d29..26c545fa223b 100644
--- a/drivers/isdn/hisax/hisax.h
+++ b/drivers/isdn/hisax/hisax.h
@@ -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