diff options
author | Aaro Koskinen <aaro.koskinen@iki.fi> | 2014-11-19 16:52:51 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-11-24 01:45:35 -0500 |
commit | d47ff0ec0bf20d750c453da187697a7c59817a43 (patch) | |
tree | bbdefb067f8376c0b5a16121e3f25cae41a93a7a /arch/mips/loongson/common | |
parent | 8387efd26a68d0713a03308d09f27dbeecb65981 (diff) |
MIPS: loongson: common: rtc: make loongson_rtc_resources static
Make loongson_rtc_resources static to eliminate the following
sparse warning:
warning: symbol 'loongson_rtc_resources' was not declared. Should it be static?
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/8529/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/loongson/common')
-rw-r--r-- | arch/mips/loongson/common/rtc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/loongson/common/rtc.c b/arch/mips/loongson/common/rtc.c index a90d87c01555..b5709af09f7f 100644 --- a/arch/mips/loongson/common/rtc.c +++ b/arch/mips/loongson/common/rtc.c | |||
@@ -14,7 +14,7 @@ | |||
14 | #include <linux/platform_device.h> | 14 | #include <linux/platform_device.h> |
15 | #include <linux/mc146818rtc.h> | 15 | #include <linux/mc146818rtc.h> |
16 | 16 | ||
17 | struct resource loongson_rtc_resources[] = { | 17 | static struct resource loongson_rtc_resources[] = { |
18 | { | 18 | { |
19 | .start = RTC_PORT(0), | 19 | .start = RTC_PORT(0), |
20 | .end = RTC_PORT(1), | 20 | .end = RTC_PORT(1), |