projects
/
platform
/
kernel
/
linux-arm64.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
185a7a1
)
[PATCH] -Wundef fixes (hisax)
author
viro@ZenIV.linux.org.uk
<viro@ZenIV.linux.org.uk>
Wed, 7 Sep 2005 22:19:41 +0000
(23:19 +0100)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Thu, 8 Sep 2005 00:17:33 +0000
(17:17 -0700)
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>
drivers/isdn/hisax/hisax.h
patch
|
blob
|
history
diff --git
a/drivers/isdn/hisax/hisax.h
b/drivers/isdn/hisax/hisax.h
index
6eb96cb
..
26c545f
100644
(file)
--- 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