Skip to content

Commit

Permalink
[PATCH] -Wundef fixes (hisax)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
viro@ZenIV.linux.org.uk authored and Linus Torvalds committed Sep 8, 2005
1 parent 185a7a1 commit f718404
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/isdn/hisax/hisax.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f718404

Please sign in to comment.