diff options
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | 2017-07-17 10:20:25 +0200 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2017-07-17 10:20:25 +0200 |
commit | 1c18be5a4e3ecbb40fbee015711aea6cc6467417 (patch) | |
tree | 4bd05deb05fa39201a63e29c4c8f3bdc925f94cd /drivers/edac/i82443bxgx_edac.c | |
parent | EDAC, mce_amd: Use cpu_to_node() to find the node ID (diff) | |
download | linux-1c18be5a4e3ecbb40fbee015711aea6cc6467417.tar.xz linux-1c18be5a4e3ecbb40fbee015711aea6cc6467417.zip |
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/i82443bxgx_edac.c')
0 files changed, 0 insertions, 0 deletions