diff options
Diffstat (limited to 'block')
-rw-r--r-- | block/genhd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/genhd.c b/block/genhd.c index 5b76bf55d05c..2ad91ddad8e2 100644 --- a/block/genhd.c +++ b/block/genhd.c | |||
@@ -903,7 +903,7 @@ static struct attribute_group disk_attr_group = { | |||
903 | .attrs = disk_attrs, | 903 | .attrs = disk_attrs, |
904 | }; | 904 | }; |
905 | 905 | ||
906 | static struct attribute_group *disk_attr_groups[] = { | 906 | static const struct attribute_group *disk_attr_groups[] = { |
907 | &disk_attr_group, | 907 | &disk_attr_group, |
908 | NULL | 908 | NULL |
909 | }; | 909 | }; |