Better to have those conditional defines in the head of the file, because #include's depend on them

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4787 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2013-03-05 21:25:54 +00:00
parent 60cd734aef
commit c7f6a46905

View File

@@ -23,6 +23,11 @@
#ifndef __SCST_H
#define __SCST_H
/** See README for description of those conditional defines **/
/* #define CONFIG_SCST_MEASURE_LATENCY */
/* #define CONFIG_SCST_DEBUG_TM */
/* #define CONFIG_SCST_TM_DBG_GO_OFFLINE */
#include <linux/types.h>
#ifndef INSIDE_KERNEL_TREE
#include <linux/version.h>
@@ -40,11 +45,6 @@
#define CONFIG_SCST_PER_DEVICE_CMD_COUNT_LIMIT
#endif
/* #define CONFIG_SCST_MEASURE_LATENCY */
/* #define CONFIG_SCST_DEBUG_TM */
/* #define CONFIG_SCST_TM_DBG_GO_OFFLINE */
/* #define CONFIG_SCST_PROC */
#ifdef CONFIG_SCST_PROC