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 <[email protected]> Reported-by: kernel test robot <[email protected]> Cc: Thomas Bogendoerfer <[email protected]> Cc: John Crispin <[email protected]> Cc: [email protected] Signed-off-by: Thomas Bogendoerfer <[email protected]>
1 parent 80e78fc commit 5025501

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)