i2c: rk3x: add Kconfig dependency on COMMON_CLK
authorMax Schwarz <max.schwarz@online.de>
Mon, 24 Nov 2014 00:32:27 +0000 (01:32 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 24 Nov 2014 09:28:32 +0000 (10:28 +0100)
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>
drivers/i2c/busses/Kconfig

index c074df7454d534e1da6bd4efa0f97ee26a8f98d1..39862fd27a724474cbdf0f219b756b7456c4dd50 100644 (file)
@@ -720,7 +720,7 @@ config I2C_RIIC
 
 config I2C_RK3X
        tristate "Rockchip RK3xxx I2C adapter"
-       depends on OF
+       depends on OF && COMMON_CLK
        help
          Say Y here to include support for the I2C adapter in Rockchip RK3xxx
          SoCs.