commit | c32dc04059c79ddb4f7cff94ad5de6e92ea2218d | [log] [tgz] |
---|---|---|
author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | Sat May 29 12:30:49 2021 +0200 |
committer | Song Liu <song@kernel.org> | Mon Jun 14 22:32:07 2021 -0700 |
tree | 11ab78907c0326978858971cc6754b43ea949783 | |
parent | 608f52e30aae7dc8da836e5b7b112d50a2d00e43 [diff] |
md: Constify attribute_group structs The attribute_group structs are never modified, they're only passed to sysfs_create_group() and sysfs_remove_group(). Make them const to allow the compiler to put them in read-only memory. Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com> Signed-off-by: Song Liu <song@kernel.org>