]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/scsi/qla4xxx/ql4_dbg.h
[PATCH] fix qla{2,4} build error
[linux-2.6-omap-h63xx.git] / drivers / scsi / qla4xxx / ql4_dbg.h
index 56ddc227f84658d99a1db7dfa7a06a7e8764e639..3e99dcfd5a9f60612033668dad27f90a4221b55c 100644 (file)
 #endif
 
 #if defined(QL_DEBUG_LEVEL_2)
-#define DEBUG2(x)      do {if(extended_error_logging == 2) x;} while (0);
+#define DEBUG2(x)      do {if(qla4_extended_error_logging == 2) x;} while (0);
 #define DEBUG2_3(x)   do {x;} while (0);
 #else                          /*  */
 #define DEBUG2(x)      do {} while (0);
 #endif                         /*  */
 
 #if defined(QL_DEBUG_LEVEL_3)
-#define DEBUG3(x)      do {if(extended_error_logging == 3) x;} while (0);
+#define DEBUG3(x)      do {if(qla4_extended_error_logging == 3) x;} while (0);
 #else                          /*  */
 #define DEBUG3(x)      do {} while (0);
 #if !defined(QL_DEBUG_LEVEL_2)