diff options
author | 2014-08-21 10:11:34 +0800 | |
---|---|---|
committer | 2014-08-21 09:49:08 -0500 | |
commit | df11e506d330d9a0e5a701cd2c5fcb7d461b6060 (patch) | |
tree | 19c21f5e9d1ec07206592a2b9df539dd47aa4da9 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | regulator: core: add const to regulator_ops and fix build error in mc13892 (diff) | |
download | linux-dev-df11e506d330d9a0e5a701cd2c5fcb7d461b6060.tar.xz linux-dev-df11e506d330d9a0e5a701cd2c5fcb7d461b6060.zip |
regulator: core: Add back the const qualifier for ops of struct regulator_desc
Fix below build warning:
CC [M] drivers/regulator/hi6421-regulator.o
drivers/regulator/hi6421-regulator.c:356:2: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
This is a revert of commit 716845ebeb50 ("regulator: core: Fix build error due
to const qualifier for ops"). The build error was fixed by commit 39f5460d7f9c
("regulator: core: add const to regulator_ops and fix build error in mc13892").
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions