diff options
-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 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) | |||
290 | kfree(shost); | 290 | kfree(shost); |
291 | } | 291 | } |
292 | 292 | ||
293 | struct device_type scsi_host_type = { | 293 | static struct device_type scsi_host_type = { |
294 | .name = "scsi_host", | 294 | .name = "scsi_host", |
295 | .release = scsi_host_dev_release, | 295 | .release = scsi_host_dev_release, |
296 | }; | 296 | }; |
diff --git a/drivers/scsi/scsi_scan.c b/drivers/scsi/scsi_scan.c index a00eee6f7be9..196fe3af0d5e 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) | |||
346 | put_device(parent); | 346 | put_device(parent); |
347 | } | 347 | } |
348 | 348 | ||
349 | struct device_type scsi_target_type = { | 349 | static struct device_type scsi_target_type = { |
350 | .name = "scsi_target", | 350 | .name = "scsi_target", |
351 | .release = scsi_target_dev_release, | 351 | .release = scsi_target_dev_release, |
352 | }; | 352 | }; |