From: Axel Lin Date: Thu, 21 Aug 2014 02:11:34 +0000 (+0800) Subject: regulator: core: Add back the const qualifier for ops of struct regulator_desc X-Git-Tag: fixes-for-v3.18-merge-window~31^2~3^3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df11e506d330d9a0e5a701cd2c5fcb7d461b6060;p=pandora-kernel.git 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed