]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/scsi/qla2xxx/qla_dbg.h
[PATCH] fix qla{2,4} build error
[linux-2.6-omap-h63xx.git] / drivers / scsi / qla2xxx / qla_dbg.h
index 533425338e05ec5fb43e54b54d37c2875ac08f8f..90dad7e8898563b5f358d80781bef05723cb7e4f 100644 (file)
@@ -38,7 +38,7 @@
 * Macros use for debugging the driver.
 */
 
-#define DEBUG(x)       do { if (extended_error_logging) { x; } } while (0)
+#define DEBUG(x)       do { if (qla2_extended_error_logging) { x; } } while (0)
 
 #if defined(QL_DEBUG_LEVEL_1)
 #define DEBUG1(x)      do {x;} while (0)
 #define DEBUG1(x)      do {} while (0)
 #endif
 
-#define DEBUG2(x)      do { if (extended_error_logging) { x; } } while (0)
-#define DEBUG2_3(x)    do { if (extended_error_logging) { x; } } while (0)
-#define DEBUG2_3_11(x) do { if (extended_error_logging) { x; } } while (0)
-#define DEBUG2_9_10(x) do { if (extended_error_logging) { x; } } while (0)
-#define DEBUG2_11(x)   do { if (extended_error_logging) { x; } } while (0)
-#define DEBUG2_13(x)   do { if (extended_error_logging) { x; } } while (0)
+#define DEBUG2(x)      do { if (qla2_extended_error_logging) { x; } } while (0)
+#define DEBUG2_3(x)    do { if (qla2_extended_error_logging) { x; } } while (0)
+#define DEBUG2_3_11(x) do { if (qla2_extended_error_logging) { x; } } while (0)
+#define DEBUG2_9_10(x) do { if (qla2_extended_error_logging) { x; } } while (0)
+#define DEBUG2_11(x)   do { if (qla2_extended_error_logging) { x; } } while (0)
+#define DEBUG2_13(x)   do { if (qla2_extended_error_logging) { x; } } while (0)
 
 #if defined(QL_DEBUG_LEVEL_3)
 #define DEBUG3(x)      do {x;} while (0)