aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_sysfs.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2007-07-09 14:59:59 -0400
committerJames Bottomley <jejb@mulgrave.localdomain>2007-07-18 12:16:32 -0400
commit44818efbad185eea75adad0e8cab97650a7370ab (patch)
tree0c0b3b856c390b1abb8071503d590dbb64731b1e /drivers/scsi/scsi_sysfs.c
parent9d720d82dc295521d70939c3f5edd54050730f09 (diff)
[SCSI] small cleanups
This patch contains the following cleanups: - make needlessly global functions static - every file should #include the headers containing the prototypes for it's global functions Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/scsi_sysfs.c')
-rw-r--r--drivers/scsi/scsi_sysfs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_sysfs.c b/drivers/scsi/scsi_sysfs.c
index ed720863ab97..34e483d31c18 100644
--- a/drivers/scsi/scsi_sysfs.c
+++ b/drivers/scsi/scsi_sysfs.c
@@ -16,6 +16,7 @@
16#include <scsi/scsi_host.h> 16#include <scsi/scsi_host.h>
17#include <scsi/scsi_tcq.h> 17#include <scsi/scsi_tcq.h>
18#include <scsi/scsi_transport.h> 18#include <scsi/scsi_transport.h>
19#include <scsi/scsi_driver.h>
19 20
20#include "scsi_priv.h" 21#include "scsi_priv.h"
21#include "scsi_logging.h" 22#include "scsi_logging.h"
@@ -803,7 +804,7 @@ void scsi_remove_device(struct scsi_device *sdev)
803} 804}
804EXPORT_SYMBOL(scsi_remove_device); 805EXPORT_SYMBOL(scsi_remove_device);
805 806
806void __scsi_remove_target(struct scsi_target *starget) 807static void __scsi_remove_target(struct scsi_target *starget)
807{ 808{
808 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); 809 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent);
809 unsigned long flags; 810 unsigned long flags;