[PATCH] -Wundef fixes (hisax)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <[email protected]>
----
diff -urN RC13-git7-uml-mem/drivers/isdn/hisax/hisax.h RC13-git7-hisax/drivers/isdn/hisax/hisax.h
--- RC13-git7-uml-mem/drivers/isdn/hisax/hisax.h	2005-09-07 13:55:17.000000000 -0400
+++ RC13-git7-hisax/drivers/isdn/hisax/hisax.h	2005-09-07 13:55:43.000000000 -0400
@@ -1241,6 +1241,8 @@
 
 #ifdef CONFIG_HISAX_ENTERNOW_PCI
 #define CARD_FN_ENTERNOW_PCI 1
+#else
+#define CARD_FN_ENTERNOW_PCI 0
 #endif
 
 #define TEI_PER_CARD 1
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux