Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 453cd0f3 authored by Adrian Bunk's avatar Adrian Bunk Committed by James Bottomley
Browse files

[SCSI] make struct scsi_{host,target}_type static



Make the needlessly global struct scsi_{host,target}_type static.

Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
parent 2476b4d0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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,
};
+1 −1
Original line number Diff line number Diff line
@@ -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,
};