summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2009-09-18 22:24:21 +0200
committerJens Axboe <jens.axboe@oracle.com>2009-10-01 21:15:45 +0200
commit9f792d9f58496161b1b201e2ca440a6b6e116c39 (patch)
tree438aea4831218dd618fd38c2af0e0b0e4f1f4300 /drivers
parentcciss: Dynamically allocate the drive_info_struct for each logical drive. (diff)
downloadlinux-9f792d9f58496161b1b201e2ca440a6b6e116c39.tar.xz
linux-9f792d9f58496161b1b201e2ca440a6b6e116c39.zip
cciss: cciss_host_attr_groups should be const
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/block/cciss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c
index 04036ef8ea5a..4d879b792258 100644
--- a/drivers/block/cciss.c
+++ b/drivers/block/cciss.c
@@ -656,7 +656,7 @@ static struct attribute_group cciss_host_attr_group = {
.attrs = cciss_host_attrs,
};
-static struct attribute_group *cciss_host_attr_groups[] = {
+static const struct attribute_group *cciss_host_attr_groups[] = {
&cciss_host_attr_group,
NULL
};