diff options
author | viro@ZenIV.linux.org.uk <viro@ZenIV.linux.org.uk> | 2005-09-07 22:19:41 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-08 00:17:33 (GMT) |
commit | f718404aa939d2ae19efda8e71f7fa79cbdf1646 (patch) | |
tree | bc6dc9f2b47d54947e6bb2da928fe304c8a46757 | |
parent | 185a7a1cd79b9891e3c17abdb103ba1c98d6ca7a (diff) | |
download | linux-fsl-qoriq-f718404aa939d2ae19efda8e71f7fa79cbdf1646.tar.xz |
[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 6eb96cb..26c545f 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 |