]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
MIPS: loongson: common: rtc: make loongson_rtc_resources static
authorAaro Koskinen <aaro.koskinen@iki.fi>
Wed, 19 Nov 2014 21:52:51 +0000 (23:52 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 24 Nov 2014 06:45:35 +0000 (07:45 +0100)
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>
arch/mips/loongson/common/rtc.c

index a90d87c01555332a848adef8e905198d4399e249..b5709af09f7f4ff2f4ceeed0654fa5873140df19 100644 (file)
@@ -14,7 +14,7 @@
 #include <linux/platform_device.h>
 #include <linux/mc146818rtc.h>
 
-struct resource loongson_rtc_resources[] = {
+static struct resource loongson_rtc_resources[] = {
        {
                .start  = RTC_PORT(0),
                .end    = RTC_PORT(1),