Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Aaro Koskinen and committed by
Ralf Baechle
d47ff0ec 8387efd2

+1 -1
+1 -1
arch/mips/loongson/common/rtc.c
··· 14 14 #include <linux/platform_device.h> 15 15 #include <linux/mc146818rtc.h> 16 16 17 - struct resource loongson_rtc_resources[] = { 17 + static struct resource loongson_rtc_resources[] = { 18 18 { 19 19 .start = RTC_PORT(0), 20 20 .end = RTC_PORT(1),