summaryrefslogtreecommitdiffstats
path: root/include/scsi/scsi_scan.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2009-04-17 02:35:26 +0200
committerDavid S. Miller <davem@davemloft.net>2009-04-17 02:35:26 +0200
commita54bfa40fd16aeb90bc556189221576f746f8567 (patch)
tree176bb7a99ffab5f42f0dd4e9671f335be3f3efa0 /include/scsi/scsi_scan.h
parentfec: call fec_restart() in fec_open() (diff)
parentMerge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/kaber/... (diff)
downloadlinux-a54bfa40fd16aeb90bc556189221576f746f8567.tar.xz
linux-a54bfa40fd16aeb90bc556189221576f746f8567.zip
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Diffstat (limited to 'include/scsi/scsi_scan.h')
-rw-r--r--include/scsi/scsi_scan.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/scsi/scsi_scan.h b/include/scsi/scsi_scan.h
new file mode 100644
index 000000000000..78898889243d
--- /dev/null
+++ b/include/scsi/scsi_scan.h
@@ -0,0 +1,11 @@
+#ifndef _SCSI_SCSI_SCAN_H
+#define _SCSI_SCSI_SCAN_H
+
+#ifdef CONFIG_SCSI
+/* drivers/scsi/scsi_scan.c */
+extern int scsi_complete_async_scans(void);
+#else
+static inline int scsi_complete_async_scans(void) { return 0; }
+#endif
+
+#endif /* _SCSI_SCSI_SCAN_H */