[<prev] [next>] [day] [month] [year] [list]
Date: Mon, 5 May 2008 21:23:54 +0300
From: Adrian Bunk <bunk@...nel.org>
To: Hannes Reinecke <hare@...e.de>,
James Bottomley <James.Bottomley@...senPartnership.com>
Cc: linux-kernel@...r.kernel.org, linux-scsi@...r.kernel.org
Subject: [2.6 patch] make struct scsi_shost_attr_group static
This patch makes the needlessly global struct scsi_shost_attr_group
static.
Signed-off-by: Adrian Bunk <bunk@...nel.org>
---
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists