summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/hosts.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-07-04 08:47:33 +0200
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-07-12 15:22:36 +0200
commit453cd0f3ff3bf25d86c96e62d271ba238f06d5ff (patch)
tree6d1d3508b9ed6295cedc443907c7c53cbf583e20 /drivers/scsi/hosts.c
parent[SCSI] fix locking in host use of blk_plug_device() (diff)
downloadlinux-453cd0f3ff3bf25d86c96e62d271ba238f06d5ff.tar.xz
linux-453cd0f3ff3bf25d86c96e62d271ba238f06d5ff.zip
[SCSI] make struct scsi_{host,target}_type static
Make the needlessly global struct scsi_{host,target}_type static. Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/hosts.c')
-rw-r--r--drivers/scsi/hosts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/hosts.c b/drivers/scsi/hosts.c
index 3690360d7a79..497ca68d1ffc 100644
--- a/drivers/scsi/hosts.c
+++ b/drivers/scsi/hosts.c
@@ -290,7 +290,7 @@ static void scsi_host_dev_release(struct device *dev)
kfree(shost);
}
-struct device_type scsi_host_type = {
+static struct device_type scsi_host_type = {
.name = "scsi_host",
.release = scsi_host_dev_release,
};