diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2014-03-03 16:53:51 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-03-04 04:01:57 +0100 |
commit | 0f4cc282951a76011db1da6787b3d2acc63238ca (patch) | |
tree | 0ddb76ef04b2d6eb0337fc0f492569cda78b73f2 /drivers/net/usb/asix_devices.c | |
parent | regulator: s2mps11: Copy supported regulators from initconst (diff) | |
download | linux-0f4cc282951a76011db1da6787b3d2acc63238ca.tar.xz linux-0f4cc282951a76011db1da6787b3d2acc63238ca.zip |
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 <k.kozlowski@samsung.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/net/usb/asix_devices.c')
0 files changed, 0 insertions, 0 deletions