From: viro@ZenIV.linux.org.uk Date: Wed, 7 Sep 2005 22:19:41 +0000 (+0100) Subject: [PATCH] -Wundef fixes (hisax) X-Git-Tag: v2.6.14-rc1~535 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f718404aa939d2ae19efda8e71f7fa79cbdf1646;p=linux-2.6 [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 Signed-off-by: Linus Torvalds --- diff --git a/drivers/isdn/hisax/hisax.h b/drivers/isdn/hisax/hisax.h index 6eb96cba4d..26c545fa22 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