diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2014-03-18 14:11:26 +0100 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-03-20 15:57:23 +0000 |
commit | 5a78401623740c892868d5929b33f5cda8fe819e (patch) | |
tree | c2b5abddc299f5b24456010c32f179b29580a804 /COPYING | |
parent | 742766aac563ea1c28e9f86ed53db757a2872081 (diff) | |
download | linux-5a78401623740c892868d5929b33f5cda8fe819e.tar.bz2 |
mfd: sec-core: Fix uninitialized 'regmap_rtc' on S2MPA01
Initialize the 'regmap_rtc' on S2MPA01 to some sane value. Sane at least
for S5M87X chipsets, not S2MPS/S2MPA but it won't be used because
rtc-s5m driver does not support S2MPA01.
This fixes following error:
drivers/mfd/sec-core.c:342:45: warning: ‘regmap_rtc’ may be used uninitialized in this function [-Wuninitialized]
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Acked-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions