* [PATCH] scsi_scan.c: quiet sparse noise
@ 2010-01-15 0:47 H Hartley Sweeten
0 siblings, 0 replies; only message in thread
From: H Hartley Sweeten @ 2010-01-15 0:47 UTC (permalink / raw)
To: Linux Kernel, linux-scsi; +Cc: James.Bottomley
scsi_scan.c: quiet sparse noise
Include the <scsi/scsi_scan.h> header to pick up the extern
prototype of scsi_complete_async_scans in order to quiet
the following sparse warning:
warning: symbol 'scsi_complete_async_scans' was not declared. Should it be static?
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: James E.J. Bottomley <James.Bottomley@suse.de>
---
diff --git a/drivers/scsi/scsi_scan.c b/drivers/scsi/scsi_scan.c
index 012f73a..6e3ca0a 100644
--- a/drivers/scsi/scsi_scan.c
+++ b/drivers/scsi/scsi_scan.c
@@ -42,6 +42,7 @@
#include <scsi/scsi_host.h>
#include <scsi/scsi_transport.h>
#include <scsi/scsi_eh.h>
+#include <scsi/scsi_scan.h>
#include "scsi_priv.h"
#include "scsi_logging.h"
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2010-01-15 0:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-15 0:47 [PATCH] scsi_scan.c: quiet sparse noise H Hartley Sweeten
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox