driver model: constify attribute groups
[firefly-linux-kernel-4.4.55.git] / drivers / usb / core / endpoint.c
index bc39fc40bbde20781d2467ec227ae48a9bdf46f0..fdfaa7885515d075330921d17442bbc80f1dcf06 100644 (file)
@@ -154,7 +154,7 @@ static struct attribute *ep_dev_attrs[] = {
 static struct attribute_group ep_dev_attr_grp = {
        .attrs = ep_dev_attrs,
 };
-static struct attribute_group *ep_dev_groups[] = {
+static const struct attribute_group *ep_dev_groups[] = {
        &ep_dev_attr_grp,
        NULL
 };