Fixed a recently introduced sparse warning that was triggered against kernel 2.6.28 and before.

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2833 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2010-11-26 08:46:16 +00:00
parent 2170d47abc
commit db35095aa1

View File

@@ -146,11 +146,13 @@ struct list_head scst_sess_shut_list;
wait_queue_head_t scst_dev_cmd_waitQ;
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
#ifdef CONFIG_DEBUG_LOCK_ALLOC
static struct lockdep_map scst_suspend_dep_map = {
.name = "scst_suspend_activity"
};
#endif
#endif
static struct mutex scst_suspend_mutex;
/* protected by scst_suspend_mutex */
static struct list_head scst_cmd_threads_list;