commit | ac317e276700a613057c34f10b2dc714c17d1b15 | [log] [tgz] |
---|---|---|
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | Wed Aug 02 16:51:08 2017 +0530 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Aug 28 17:57:53 2017 +0200 |
tree | c4d7f6099de980b5adceea6224e90d7d61c0d70f | |
parent | c26bbb3ca9c4c58b886497efbeccac7cbd9e98a4 [diff] |
char: virtio: constify attribute_group structures. attribute_group are not supposed to change at runtime. All functions working with attribute_group 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>