projects
/
linux-block.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
[linux-block.git]
/
drivers
/
mtd
/
mtdcore.c
diff --git
a/drivers/mtd/mtdcore.c
b/drivers/mtd/mtdcore.c
index 00ebf7af7467b6b35dac1a2e2c32c432b11528ad..69007a6eff50c3014c10677af1aea8f84a9fde81 100644
(file)
--- a/
drivers/mtd/mtdcore.c
+++ b/
drivers/mtd/mtdcore.c
@@
-217,7
+217,7
@@
struct attribute_group mtd_group = {
.attrs = mtd_attrs,
};
-struct attribute_group *mtd_groups[] = {
+
const
struct attribute_group *mtd_groups[] = {
&mtd_group,
NULL,
};