From: Guodong Xu Date: Wed, 13 Aug 2014 11:33:38 +0000 (+0800) Subject: regulator: core: add const qualifier to ops in struct regulator_desc X-Git-Tag: fixes-for-v3.18-merge-window~31^2~3^3~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=272e2315fac3bfca0edfa3252b8a643c425602af;p=pandora-kernel.git regulator: core: add const qualifier to ops in struct regulator_desc struct regulator_ops *ops is a member in struct regulator_desc, which gets its value from individual regulator driver upon regulator_register() and is used by regulator core APIs. It's not allowed for regulator core to modify any of these callbacks in *ops. Add 'const' qualifier to enforce that. Signed-off-by: Guodong Xu Signed-off-by: Mark Brown --- Reading git-diff-tree failed