dect
/
linux-2.6
Archived
13
0
Fork 0

[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>
This commit is contained in:
Adrian Bunk 2008-07-03 23:47:33 -07:00 committed by James Bottomley
parent 2476b4d042
commit 453cd0f3ff
2 changed files with 2 additions and 2 deletions

View File

@ -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,
};

View File

@ -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,
};