From: Guodong Xu Date: Tue, 19 Aug 2014 10:07:41 +0000 (+0800) Subject: regulator: core: add const to regulator_ops and fix build error in mc13892 X-Git-Tag: fixes-for-v3.18-merge-window~31^2~3^3~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=39f5460d7f9cc57d3dd745301bf60ca5d65a6e7b;p=pandora-kernel.git regulator: core: add const to regulator_ops and fix build error in mc13892 Commit 272e2315fac3 ("regulator: core: add const qualifier to ops in struct regulator_desc") introduced const qualifier to ops in regulator_desc. This patch adds 'const' to regulator_ops vars in newly added core APIs for v3.17-rc1: - regulator_get_hardware_vsel_register() - regulator_list_hardware_vsel() This patch also fix a build error in mc13892-regulator.c due to const regulator_desc.ops. Modification of regulator_desc.ops' member fields is not allowed. Signed-off-by: Guodong Xu Signed-off-by: Mark Brown --- Reading git-diff-tree failed