MIPS: ralink: export rt_sysc_membase for rt2880_wdt.c
authorRandy Dunlap <rdunlap@infradead.org>
Mon, 17 May 2021 00:54:17 +0000 (17:54 -0700)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Tue, 25 May 2021 13:22:04 +0000 (15:22 +0200)
commitfef532ea0cd871afab7d9a7b6e9da99ac2c24371
treedfb7b40e4971da9726688891d745060b1fddf5b2
parent6855adc2c5d9dff08be9e6e01deb319738b28780
MIPS: ralink: export rt_sysc_membase for rt2880_wdt.c

rt2880_wdt.c uses (well, attempts to use) rt_sysc_membase. However,
when this watchdog driver is built as a loadable module, there is a
build error since the rt_sysc_membase symbol is not exported.
Export it to quell the build error.

ERROR: modpost: "rt_sysc_membase" [drivers/watchdog/rt2880_wdt.ko] undefined!

Fixes: 473cf939ff34 ("watchdog: add ralink watchdog driver")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Guenter Roeck <linux@roeck-us.net>
Cc: Wim Van Sebroeck <wim@iguana.be>
Cc: John Crispin <john@phrozen.org>
Cc: linux-mips@vger.kernel.org
Cc: linux-watchdog@vger.kernel.org
Acked-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/ralink/of.c