scsi: make struct scsi_{host,target}_type static
PATCH 15/16 scsi: make struct scsi_{host,target}_type static
From: Adrian Bunk <[email protected]>
Make the needlessly global struct scsi_{host,target}_type static.
Signed-off-by Adrian Bunk <[email protected]>
Cc James Bottomley <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
drivers/scsi/hosts.c | 2 +- drivers/scsi/scsi_scan.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/scsi/hosts.c renamed from drivers/scsi/hosts.c~scsi-make-struct-scsi_hosttarget_type-static +1 -1
@@ -290,7 +290,7 @@ static void scsi_host_dev_release(structkfree (shost); } -struct device_type scsi_host_type = { +static struct device_type scsi_host_type = { .name ="scsi_host" , .release = scsi_host_dev_release, };
drivers/scsi/scsi_scan.c renamed from drivers/scsi/scsi_scan.c~scsi-make-struct-scsi_hosttarget_type-static +1 -1
@@ -346,7 +346,7 @@ static void scsi_target_dev_release(struput_device (parent); } -struct device_type scsi_target_type = { +static struct device_type scsi_target_type = { .name ="scsi_target" , .release = scsi_target_dev_release, };
_