aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_sysfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/scsi_sysfs.c')
-rw-r--r--drivers/scsi/scsi_sysfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/scsi_sysfs.c b/drivers/scsi/scsi_sysfs.c
index 93b41100a6d8..beed7fbe1cbe 100644
--- a/drivers/scsi/scsi_sysfs.c
+++ b/drivers/scsi/scsi_sysfs.c
@@ -150,7 +150,7 @@ static void scsi_device_cls_release(struct class_device *class_dev)
150 put_device(&sdev->sdev_gendev); 150 put_device(&sdev->sdev_gendev);
151} 151}
152 152
153void scsi_device_dev_release(struct device *dev) 153static void scsi_device_dev_release(struct device *dev)
154{ 154{
155 struct scsi_device *sdev; 155 struct scsi_device *sdev;
156 struct device *parent; 156 struct device *parent;
@@ -185,7 +185,7 @@ void scsi_device_dev_release(struct device *dev)
185 put_device(parent); 185 put_device(parent);
186} 186}
187 187
188struct class sdev_class = { 188static struct class sdev_class = {
189 .name = "scsi_device", 189 .name = "scsi_device",
190 .release = scsi_device_cls_release, 190 .release = scsi_device_cls_release,
191}; 191};