diff options
| author | Arvind Yadav <[email protected]> | 2017-07-07 04:15:12 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2017-08-20 09:42:01 -0400 |
| commit | d9a77b98df6be6a84f461753c504740fe4669c96 (patch) | |
| tree | f1ebb38e2dad2f6f15769a2dbe1d47714a9a8668 /tools/perf/scripts/python/Perf-Trace-Util | |
| parent | 6efa09436939ec10f966577f0f7fd706a8420693 (diff) | |
media: imon: 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.
File size before:
text data bss dec hex filename
18551 2256 77 20884 5194 drivers/media/rc/imon.o
File size After adding 'const':
text data bss dec hex filename
18679 2160 77 20916 51b4 drivers/media/rc/imon.o
Signed-off-by: Arvind Yadav <[email protected]>
Signed-off-by: Sean Young <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util')
0 files changed, 0 insertions, 0 deletions