Messages in this thread | | | From | Arvind Yadav <> | Subject | [PATCH 0/2] constify atm attribute_group structures. | Date | Thu, 3 Aug 2017 13:31:45 +0530 |
| |
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.
Arvind Yadav (2): [PATCH 1/2] atm: solos-pci: constify attribute_group structures. [PATCH 2/2] atm: adummy: constify attribute_group structures.
drivers/atm/adummy.c | 2 +- drivers/atm/solos-pci.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
-- 1.9.1
| |