]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
parisc: pdc_stable: constify attribute_group structures.
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Tue, 11 Jul 2017 09:00:34 +0000 (14:30 +0530)
committerHelge Deller <deller@gmx.de>
Sun, 23 Jul 2017 19:02:17 +0000 (21:02 +0200)
commit343fdfb7d062a52ff39a004d42e4ad1cf7883bc6
tree4cd7147094594c512d561aa76627167245e76a44
parent6cd819e8e978b361ae558056a9e79fd30e6acb0d
parisc: pdc_stable: 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: Helge Deller <deller@gmx.de>
drivers/parisc/pdc_stable.c