From: YueHaibing Date: Wed, 10 Apr 2019 13:43:36 +0000 (+0800) Subject: rtc: sirfsoc: Make sysrtc_regmap_config static X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=153a9177c1c8df514d6bd307b28d76832a8cefe8;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: YueHaibing Signed-off-by: Alexandre Belloni --- 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,