mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-05 01:54:09 +08:00
53c703501e
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: Arnd Bergmann <arnd@arndb.de>
Fixes: 4bcf741452
("HSI: omap-ssi: add clk change support")
Signed-off-by: Sebastian Reichel <sre@kernel.org>
16 lines
413 B
Plaintext
16 lines
413 B
Plaintext
#
|
|
# HSI controllers configuration
|
|
#
|
|
comment "HSI controllers"
|
|
|
|
config OMAP_SSI
|
|
tristate "OMAP SSI hardware driver"
|
|
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.
|
|
If you say Y here, you will enable the OMAP SSI hardware driver.
|
|
|
|
If unsure, say N.
|