[SCSI] async: introduce 'async_domain' type
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / scsi / scsi.c
index bbbc9c918d4cc515f15d3b7edce9fa2359f3594a..4cade886a50a5962eb3dfe0f18ed885ced319ff5 100644 (file)
@@ -54,6 +54,7 @@
 #include <linux/notifier.h>
 #include <linux/cpu.h>
 #include <linux/mutex.h>
+#include <linux/async.h>
 
 #include <scsi/scsi.h>
 #include <scsi/scsi_cmnd.h>
@@ -91,7 +92,7 @@ EXPORT_SYMBOL(scsi_logging_level);
 #endif
 
 /* sd, scsi core and power management need to coordinate flushing async actions */
-LIST_HEAD(scsi_sd_probe_domain);
+ASYNC_DOMAIN(scsi_sd_probe_domain);
 EXPORT_SYMBOL(scsi_sd_probe_domain);
 
 /* NB: These are exposed through /proc/scsi/scsi and form part of the ABI.