commit | 1c18be5a4e3ecbb40fbee015711aea6cc6467417 | [log] [tgz] |
---|---|---|
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | Mon Jul 17 10:20:25 2017 +0200 |
committer | Borislav Petkov <bp@suse.de> | Mon Jul 17 10:20:25 2017 +0200 |
tree | 4bd05deb05fa39201a63e29c4c8f3bdc925f94cd | |
parent | fbe63acf62f57f8e51adae602c5ce1025002d5ee [diff] |
EDAC: Constify attribute_group structures attribute_groups are not supposed to change at runtime. All functions working with attribute_groups provided by <linux/sysfs.h> work with const attribute_group. So mark the non-const structs as const. Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com> CC: linux-edac@vger.kernel.org Link: http://lkml.kernel.org/r/776cb8265509054abd01b0b551624cc0da3b88e7.1499078335.git.arvind.yadav.cs@gmail.com Signed-off-by: Borislav Petkov <bp@suse.de>