diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-06-24 01:05:33 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-24 03:06:43 -0400 |
commit | 52c1da39534fb382c061de58b65f678ad74b59f5 (patch) | |
tree | 92b18695f23afbc99374f844445f555a198978f2 /drivers/scsi/scsi_sysfs.c | |
parent | d763b7a4736e219528f77bf6bc75dd78b1d75c03 (diff) |
[PATCH] make various thing static
Another rollup of patches which give various symbols static scope
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/scsi/scsi_sysfs.c')
-rw-r--r-- | drivers/scsi/scsi_sysfs.c | 4 |
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 | ||
153 | void scsi_device_dev_release(struct device *dev) | 153 | static 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 | ||
188 | struct class sdev_class = { | 188 | static 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 | }; |