mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-04 19:54:59 +00:00
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 commit716845ebeb("regulator: core: Fix build error due to const qualifier for ops"). The build error was fixed by commit39f5460d7f("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>
This commit is contained in:
parent
39f5460d7f
commit
df11e506d3
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue