]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
HSI: omap-ssi: add COMMON_CLK dependency
authorArnd Bergmann <arnd@arndb.de>
Tue, 3 May 2016 15:16:20 +0000 (17:16 +0200)
committerSebastian Reichel <sre@kernel.org>
Mon, 9 May 2016 20:45:18 +0000 (22:45 +0200)
commit53c703501e3c10283315f1c846d4ebea7d371c4d
treeff2459eb1c78a65c9ca47a04d5729f8e394214a7
parent4bcf7414528a6b7ca52d28953a732a4cf36063e8
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: 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/Kconfig