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>
This commit is contained in:
Aaro Koskinen 2014-11-19 23:52:51 +02:00 committed by Ralf Baechle
parent 8387efd26a
commit d47ff0ec0b
1 changed files with 1 additions and 1 deletions

View File

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