serial: move count into the tty_port version
[firefly-linux-kernel-4.4.55.git] / block / genhd.c
index 5b76bf55d05c7b5b9bb9f0b269572d6b2eb5bc4b..2ad91ddad8e207631c1acf2153a1ded3d4766731 100644 (file)
@@ -903,7 +903,7 @@ static struct attribute_group disk_attr_group = {
        .attrs = disk_attrs,
 };
 
-static struct attribute_group *disk_attr_groups[] = {
+static const struct attribute_group *disk_attr_groups[] = {
        &disk_attr_group,
        NULL
 };