diff options
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | 2017-06-29 11:21:35 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-07-26 15:37:57 +0300 |
commit | 26d051e301f67cdd2ea3404abb43902f13214efa (patch) | |
tree | 04e9a52c57eb858a193581716e0858ff39cecaa1 /include/media/v4l2-flash-led-class.h | |
parent | 281643a2ad7a82ee6588f5f95b6153bb38e6640c (diff) | |
download | linux-26d051e301f67cdd2ea3404abb43902f13214efa.tar.xz |
media: exynos4-is: fimc-is-i2c: constify dev_pm_ops structures
dev_pm_ops are not supposed to change at runtime. All functions
working with dev_pm_ops provided by <linux/device.h> work with
const dev_pm_ops. So mark the non-const structs as const.
File size before:
text data bss dec hex filename
1195 376 0 1571 623 fimc-is-i2c.o
File size After adding 'const':
text data bss dec hex filename
1403 176 0 1579 62b fimc-is-i2c.o
Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'include/media/v4l2-flash-led-class.h')
0 files changed, 0 insertions, 0 deletions