diff options
| author | Arvind Yadav <[email protected]> | 2017-07-07 04:23:54 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2017-08-20 09:42:19 -0400 |
| commit | db68102c8d5eeea173ae4187b4e581fa146bc094 (patch) | |
| tree | 1fad6d6d79eba3266725150e6965eb5ca2017ba4 /tools/perf/scripts/python/sched-migration.py | |
| parent | d9a77b98df6be6a84f461753c504740fe4669c96 (diff) | |
media: rc: 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
11605 880 20 12505 30d9 drivers/media/rc/rc-main.o
File size After adding 'const':
text data bss dec hex filename
11797 720 20 12537 30f9 drivers/media/rc/rc-main.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/sched-migration.py')
0 files changed, 0 insertions, 0 deletions