Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 53c70350 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Sebastian Reichel
Browse files

HSI: omap-ssi: add COMMON_CLK dependency



Enabling the omap ssi driver without COMMON_CLK results in a build failure:

drivers/hsi/controllers/omap_ssi_core.c: In function 'ssi_clk_event':
drivers/hsi/controllers/omap_ssi_core.c:304:7: error: 'PRE_RATE_CHANGE' undeclared (first use in this function)

This adds a Kconfig dependency to avoid the invalid configuration.

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 4bcf7414
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -5,7 +5,8 @@ comment "HSI controllers"

config OMAP_SSI
	tristate "OMAP SSI hardware driver"
	depends on HSI && OF && (ARCH_OMAP3 || (ARM && COMPILE_TEST))
	depends on HSI && OF && ARM && COMMON_CLK
	depends on ARCH_OMAP3 || COMPILE_TEST
	---help---
	  SSI is a legacy version of HSI. It is usually used to connect
	  an application engine with a cellular modem.