diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-04-10 16:43:36 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2019-04-12 00:18:27 +0300 |
commit | 153a9177c1c8df514d6bd307b28d76832a8cefe8 (patch) | |
tree | 819487e7de96bb2d094c912ebbfde81c9f4b4a1a /drivers/rtc | |
parent | ac2ae48efad76e524cb77934ae5c5649520f0037 (diff) | |
download | linux-153a9177c1c8df514d6bd307b28d76832a8cefe8.tar.xz |
rtc: sirfsoc: Make sysrtc_regmap_config static
Fix sparse warning:
drivers/rtc/rtc-sirfsoc.c:282:28: warning:
symbol 'sysrtc_regmap_config' was not declared. Should it be static?
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc')
-rw-r--r-- | drivers/rtc/rtc-sirfsoc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-sirfsoc.c b/drivers/rtc/rtc-sirfsoc.c index 2a9e151cae99..9ba28d1ebd87 100644 --- a/drivers/rtc/rtc-sirfsoc.c +++ b/drivers/rtc/rtc-sirfsoc.c @@ -279,7 +279,7 @@ static const struct of_device_id sirfsoc_rtc_of_match[] = { {}, }; -const struct regmap_config sysrtc_regmap_config = { +static const struct regmap_config sysrtc_regmap_config = { .reg_bits = 32, .val_bits = 32, .fast_io = true, |