projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
driver model: constify attribute groups
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
usb
/
core
/
endpoint.c
diff --git
a/drivers/usb/core/endpoint.c
b/drivers/usb/core/endpoint.c
index bc39fc40bbde20781d2467ec227ae48a9bdf46f0..fdfaa7885515d075330921d17442bbc80f1dcf06 100644
(file)
--- a/
drivers/usb/core/endpoint.c
+++ b/
drivers/usb/core/endpoint.c
@@
-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
};