diff options
author | Baruch Siach <baruch@tkos.co.il> | 2013-12-30 03:31:19 -0500 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-01-13 07:37:40 -0500 |
commit | 7ae532e9976e41364bbfa7aaf455c9f1fc5f25e7 (patch) | |
tree | 153b6fea167da017c5bd6e750333e88103db1571 /drivers/i2c | |
parent | ce5a111a1b59eeaef4f680efc78232c2cd2f70b7 (diff) |
i2c: designware: remove HAVE_CLK build dependecy
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>
Diffstat (limited to 'drivers/i2c')
-rw-r--r-- | drivers/i2c/busses/Kconfig | 1 | ||||
-rw-r--r-- | drivers/i2c/busses/i2c-designware-core.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig index 5687b5c7f9b0..98a3f1ffc3b7 100644 --- a/drivers/i2c/busses/Kconfig +++ b/drivers/i2c/busses/Kconfig | |||
@@ -412,7 +412,6 @@ config I2C_DESIGNWARE_CORE | |||
412 | 412 | ||
413 | config I2C_DESIGNWARE_PLATFORM | 413 | config I2C_DESIGNWARE_PLATFORM |
414 | tristate "Synopsys DesignWare Platform" | 414 | tristate "Synopsys DesignWare Platform" |
415 | depends on HAVE_CLK | ||
416 | select I2C_DESIGNWARE_CORE | 415 | select I2C_DESIGNWARE_CORE |
417 | help | 416 | help |
418 | If you say yes to this option, support will be included for the | 417 | If you say yes to this option, support will be included for the |
diff --git a/drivers/i2c/busses/i2c-designware-core.c b/drivers/i2c/busses/i2c-designware-core.c index e89e3e2145e5..14c4b30d4ccc 100644 --- a/drivers/i2c/busses/i2c-designware-core.c +++ b/drivers/i2c/busses/i2c-designware-core.c | |||
@@ -26,7 +26,6 @@ | |||
26 | * | 26 | * |
27 | */ | 27 | */ |
28 | #include <linux/export.h> | 28 | #include <linux/export.h> |
29 | #include <linux/clk.h> | ||
30 | #include <linux/errno.h> | 29 | #include <linux/errno.h> |
31 | #include <linux/err.h> | 30 | #include <linux/err.h> |
32 | #include <linux/i2c.h> | 31 | #include <linux/i2c.h> |