[PATCH 2/2] fixup! i2c: import SMBus stuff from linux

Antony Pavlov antonynpavlov at gmail.com
Fri Jul 11 05:29:19 PDT 2014


---
 drivers/i2c/Kconfig  | 3 ---
 drivers/i2c/Makefile | 3 +--
 2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/drivers/i2c/Kconfig b/drivers/i2c/Kconfig
index 8b5ad50..0c6aec3 100644
--- a/drivers/i2c/Kconfig
+++ b/drivers/i2c/Kconfig
@@ -3,9 +3,6 @@ menuconfig I2C
 
 if I2C
 
-config I2C_SMBUS
-	bool
-
 source drivers/i2c/algos/Kconfig
 source drivers/i2c/busses/Kconfig
 
diff --git a/drivers/i2c/Makefile b/drivers/i2c/Makefile
index 0f8fe84..648d844 100644
--- a/drivers/i2c/Makefile
+++ b/drivers/i2c/Makefile
@@ -1,2 +1 @@
-obj-$(CONFIG_I2C) += i2c.o busses/ algos/
-obj-$(CONFIG_I2C_SMBUS) += i2c-smbus.o
+obj-$(CONFIG_I2C) += i2c.o i2c-smbus.o busses/ algos/
-- 
2.0.1




More information about the barebox mailing list