Skip to content
Commit c2f90a46 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Sebastian Reichel
Browse files

HSI: omap-ssi: move omap_ssi_port_update_fclk



After the clk change support, the ssi omap ssi core driver
now calls into the port driver to change fclk. This function
was previously inside of an #ifdef, because it was only used
when CONFIG_PM is enabled. Now it also gets used without
power management support:

drivers/hsi/built-in.o: In function `ssi_clk_event':
omap_ssi_port.c:(.text+0x1bf8): undefined reference to `omap_ssi_port_update_fclk'

This moves the function outside of the CONFIG_PM guard.

Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Fixes: 4bcf7414 ("HSI: omap-ssi: add clk change support")
Signed-off-by: default avatarSebastian Reichel <sre@kernel.org>
parent ac8e3ff3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment