projects
/
firefly-linux-kernel-4.4.55.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 6eb96cba4d299375e3d143a7c5b8366841a58dd5..26c545fa223be8672a5e3cace0e4377b04af48a2 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