commit | 70a62ad19e40a6b0d9e3a048fe0d0a391d76ad12 | [log] [tgz] |
---|---|---|
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | Fri Jun 30 17:00:20 2017 +0530 |
committer | Will Deacon <will.deacon@arm.com> | Fri Jun 30 13:34:11 2017 +0100 |
tree | c4dec5849beccc21e0acf06504e6f73d8a275ada | |
parent | 5fbd5fc49fc39ac8433da62d16682a1d0217ea4f [diff] |
arm64: cpuinfo: 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> Signed-off-by: Will Deacon <will.deacon@arm.com>