Skip to content

Commit 5025501

Browse files
rddunlaptsbogend
authored andcommitted
MIPS: lantiq: export clk_get_io() for lantiq_wdt.ko
The lantiq WDT driver uses clk_get_io(), which is not exported, so export it to fix a build error: ERROR: modpost: "clk_get_io" [drivers/watchdog/lantiq_wdt.ko] undefined! Fixes: 287e3f3 ("MIPS: lantiq: implement support for clkdev api") Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Reported-by: kernel test robot <lkp@intel.com> Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de> Cc: John Crispin <john@phrozen.org> Cc: linux-mips@vger.kernel.org Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
1 parent 80e78fc commit 5025501

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

arch/mips/lantiq/clk.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ struct clk *clk_get_io(void)
5050
{
5151
return &cpu_clk_generic[2];
5252
}
53+
EXPORT_SYMBOL_GPL(clk_get_io);
5354

5455
struct clk *clk_get_ppe(void)
5556
{

0 commit comments

Comments
 (0)