diff options
author | viro@ZenIV.linux.org.uk <viro@ZenIV.linux.org.uk> | 2005-09-07 23:19:41 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-07 17:17:33 -0700 |
commit | f718404aa939d2ae19efda8e71f7fa79cbdf1646 (patch) | |
tree | bc6dc9f2b47d54947e6bb2da928fe304c8a46757 /drivers/isdn | |
parent | 185a7a1cd79b9891e3c17abdb103ba1c98d6ca7a (diff) | |
download | linux-f718404aa939d2ae19efda8e71f7fa79cbdf1646.tar.gz linux-f718404aa939d2ae19efda8e71f7fa79cbdf1646.tar.bz2 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')
-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 { #ifdef CONFIG_HISAX_ENTERNOW_PCI #define CARD_FN_ENTERNOW_PCI 1 +#else +#define CARD_FN_ENTERNOW_PCI 0 #endif #define TEI_PER_CARD 1 |