From: viro@ZenIV.linux.org.uk Date: Wed, 7 Sep 2005 22:19:41 +0000 (+0100) Subject: [PATCH] -Wundef fixes (hisax) X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f718404aa939d2ae19efda8e71f7fa79cbdf1646;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [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 6eb96cba4d29..26c545fa223b 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