summaryrefslogtreecommitdiff
path: root/drivers/edac/synopsys_edac.c
diff options
context:
space:
mode:
authorArvind Yadav <arvind.yadav.cs@gmail.com>2017-07-17 10:20:25 +0200
committerBorislav Petkov <bp@suse.de>2017-07-17 10:20:25 +0200
commit1c18be5a4e3ecbb40fbee015711aea6cc6467417 (patch)
tree4bd05deb05fa39201a63e29c4c8f3bdc925f94cd /drivers/edac/synopsys_edac.c
parentfbe63acf62f57f8e51adae602c5ce1025002d5ee (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>
Diffstat (limited to 'drivers/edac/synopsys_edac.c')
0 files changed, 0 insertions, 0 deletions