[2.6 patch] make struct scsi_shost_attr_group static

From: Adrian Bunk
Date: Mon May 05 2008 - 14:27:41 EST


This patch makes the needlessly global struct scsi_shost_attr_group
static.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxxx>

---
4c2ca34e6b45468b0859ac38f936d73d45b66e8f diff --git a/drivers/scsi/scsi_sysfs.c b/drivers/scsi/scsi_sysfs.c
index 049103f..8236930 100644
--- a/drivers/scsi/scsi_sysfs.c
+++ b/drivers/scsi/scsi_sysfs.c
@@ -266,7 +266,7 @@ static struct attribute *scsi_sysfs_shost_attrs[] = {
NULL
};

-struct attribute_group scsi_shost_attr_group = {
+static struct attribute_group scsi_shost_attr_group = {
.attrs = scsi_sysfs_shost_attrs,
};

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/