diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-07-03 23:47:33 -0700 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-07-12 08:22:36 -0500 |
commit | 453cd0f3ff3bf25d86c96e62d271ba238f06d5ff (patch) | |
tree | 6d1d3508b9ed6295cedc443907c7c53cbf583e20 /drivers/scsi | |
parent | 2476b4d0426e1d6d4a42b2f7ae08f668b2cfe510 (diff) | |
download | op-kernel-dev-453cd0f3ff3bf25d86c96e62d271ba238f06d5ff.zip op-kernel-dev-453cd0f3ff3bf25d86c96e62d271ba238f06d5ff.tar.gz |
[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')
-rw-r--r-- | drivers/scsi/hosts.c | 2 | ||||
-rw-r--r-- | drivers/scsi/scsi_scan.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/hosts.c b/drivers/scsi/hosts.c index 3690360..497ca68 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, }; diff --git a/drivers/scsi/scsi_scan.c b/drivers/scsi/scsi_scan.c index a00eee6..196fe3a 100644 --- a/drivers/scsi/scsi_scan.c +++ b/drivers/scsi/scsi_scan.c @@ -346,7 +346,7 @@ static void scsi_target_dev_release(struct device *dev) put_device(parent); } -struct device_type scsi_target_type = { +static struct device_type scsi_target_type = { .name = "scsi_target", .release = scsi_target_dev_release, }; |