From: Krzysztof Kozlowski Date: Mon, 3 Mar 2014 15:53:51 +0000 (+0100) Subject: regulator: s2mps11: Fix section mismatch X-Git-Tag: v3.15-rc1~148^2~2^8~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f4cc282951a76011db1da6787b3d2acc63238ca;p=pandora-kernel.git regulator: s2mps11: Fix section mismatch Remove __initconst from regulator_desc array because this array is used during probe and s2mps11_pmic_probe() is not in __init section. However still select the number of supported regulators according to device ID so the driver will be ready for adding support for S2MPS14 device. Signed-off-by: Krzysztof Kozlowski Signed-off-by: Mark Brown --- Reading git-diff-tree failed