i2c: rk3x: add Kconfig dependency on COMMON_CLK
Now that we are using the clk notifier framework we get compile errors without COMMON_CLK. But the driver fails to probe without COMMON_CLK anyways, so just add that as a Kconfig dependency. Signed-off-by: Max Schwarz <max.schwarz@online.de> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
This commit is contained in:
Родитель
4f734a3a04
Коммит
80f1774f96
|
@ -720,7 +720,7 @@ config I2C_RIIC
|
||||||
|
|
||||||
config I2C_RK3X
|
config I2C_RK3X
|
||||||
tristate "Rockchip RK3xxx I2C adapter"
|
tristate "Rockchip RK3xxx I2C adapter"
|
||||||
depends on OF
|
depends on OF && COMMON_CLK
|
||||||
help
|
help
|
||||||
Say Y here to include support for the I2C adapter in Rockchip RK3xxx
|
Say Y here to include support for the I2C adapter in Rockchip RK3xxx
|
||||||
SoCs.
|
SoCs.
|
||||||
|
|
Загрузка…
Ссылка в новой задаче