projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac2ae48
)
rtc: sirfsoc: Make sysrtc_regmap_config static
author
YueHaibing
<yuehaibing@huawei.com>
Wed, 10 Apr 2019 13:43:36 +0000
(21:43 +0800)
committer
Alexandre Belloni
<alexandre.belloni@bootlin.com>
Thu, 11 Apr 2019 21:18:27 +0000
(23:18 +0200)
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>
drivers/rtc/rtc-sirfsoc.c
patch
|
blob
|
history
diff --git
a/drivers/rtc/rtc-sirfsoc.c
b/drivers/rtc/rtc-sirfsoc.c
index 2a9e151cae992ae321b9ec384386fd9ff8b58ace..9ba28d1ebd87a8f2003dfc2ae71ae752eaa16401 100644
(file)
--- 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,