]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
i2c: designware: remove HAVE_CLK build dependecy
authorBaruch Siach <baruch@tkos.co.il>
Mon, 30 Dec 2013 08:31:19 +0000 (10:31 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 13 Jan 2014 12:37:40 +0000 (13:37 +0100)
Since 93abe8e4 (clk: add non CONFIG_HAVE_CLK routines) code using clk.h
like this platform driver need not depend on HAVE_CLK. Also, remove a
redundant clk.h include from core driver.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/Kconfig
drivers/i2c/busses/i2c-designware-core.c

index 5687b5c7f9b0c09806af772b0e712e5cf14cff90..98a3f1ffc3b7ac12926a3335eaa851c8acc65366 100644 (file)
@@ -412,7 +412,6 @@ config I2C_DESIGNWARE_CORE
 
 config I2C_DESIGNWARE_PLATFORM
        tristate "Synopsys DesignWare Platform"
-       depends on HAVE_CLK
        select I2C_DESIGNWARE_CORE
        help
          If you say yes to this option, support will be included for the
index e89e3e2145e557898bd04766312a41811c3a85cf..14c4b30d4ccc174240bd455a392a3bd60c7a9230 100644 (file)
@@ -26,7 +26,6 @@
  *
  */
 #include <linux/export.h>
-#include <linux/clk.h>
 #include <linux/errno.h>
 #include <linux/err.h>
 #include <linux/i2c.h>