[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190410134336.23556-1-yuehaibing@huawei.com>
Date: Wed, 10 Apr 2019 21:43:36 +0800
From: Yue Haibing <yuehaibing@...wei.com>
To: <a.zummo@...ertech.it>, <alexandre.belloni@...tlin.com>,
<baohua@...nel.org>
CC: <linux-kernel@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-rtc@...r.kernel.org>, YueHaibing <yuehaibing@...wei.com>
Subject: [PATCH] rtc: sirfsoc: Make sysrtc_regmap_config static
From: YueHaibing <yuehaibing@...wei.com>
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@...wei.com>
Signed-off-by: YueHaibing <yuehaibing@...wei.com>
---
drivers/rtc/rtc-sirfsoc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/rtc/rtc-sirfsoc.c b/drivers/rtc/rtc-sirfsoc.c
index 2a9e151..9ba28d1 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,
--
2.7.4
Powered by blists - more mailing lists