HSI: omap-ssi: move omap_ssi_port_update_fclk
authorArnd Bergmann <arnd@arndb.de>
Tue, 3 May 2016 15:16:22 +0000 (17:16 +0200)
committerSebastian Reichel <sre@kernel.org>
Mon, 9 May 2016 20:45:18 +0000 (22:45 +0200)
commitc2f90a465df75254fb41bf6e7975464929c21e26
treebe77abed7e909e37a015d493b399cecc48c94a1b
parentac8e3ff3a07cb8bf7a5ce4627c39a50e71dcd394
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: Arnd Bergmann <arnd@arndb.de>
Fixes: 4bcf7414528a ("HSI: omap-ssi: add clk change support")
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/hsi/controllers/omap_ssi_port.c