[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>
This commit is contained in:
committed by
Linus Torvalds
parent
d763b7a473
commit
52c1da3953
@@ -150,7 +150,7 @@ static void scsi_device_cls_release(struct class_device *class_dev)
|
||||
put_device(&sdev->sdev_gendev);
|
||||
}
|
||||
|
||||
void scsi_device_dev_release(struct device *dev)
|
||||
static void scsi_device_dev_release(struct device *dev)
|
||||
{
|
||||
struct scsi_device *sdev;
|
||||
struct device *parent;
|
||||
@@ -185,7 +185,7 @@ void scsi_device_dev_release(struct device *dev)
|
||||
put_device(parent);
|
||||
}
|
||||
|
||||
struct class sdev_class = {
|
||||
static struct class sdev_class = {
|
||||
.name = "scsi_device",
|
||||
.release = scsi_device_cls_release,
|
||||
};
|
||||
|
Reference in New Issue
Block a user