diff options
author | viro@ZenIV.linux.org.uk <viro@ZenIV.linux.org.uk> | 2005-09-07 18:19:41 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-07 20:17:33 -0400 |
commit | f718404aa939d2ae19efda8e71f7fa79cbdf1646 (patch) | |
tree | bc6dc9f2b47d54947e6bb2da928fe304c8a46757 | |
parent | 185a7a1cd79b9891e3c17abdb103ba1c98d6ca7a (diff) |
[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>
-rw-r--r-- | drivers/isdn/hisax/hisax.h | 2 |
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 { | |||
1241 | 1241 | ||
1242 | #ifdef CONFIG_HISAX_ENTERNOW_PCI | 1242 | #ifdef CONFIG_HISAX_ENTERNOW_PCI |
1243 | #define CARD_FN_ENTERNOW_PCI 1 | 1243 | #define CARD_FN_ENTERNOW_PCI 1 |
1244 | #else | ||
1245 | #define CARD_FN_ENTERNOW_PCI 0 | ||
1244 | #endif | 1246 | #endif |
1245 | 1247 | ||
1246 | #define TEI_PER_CARD 1 | 1248 | #define TEI_PER_CARD 1 |