From f872a05bc3af0b3e8cf0f34f8266ccc88c1dc9bf Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Tue, 2 Mar 2010 12:23:43 +0100 Subject: [PATCH] --- yaml --- r: 185030 b: refs/heads/master c: e2ca307439fb9df922c3e8891289a2ac05812fb7 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/i2c/Kconfig | 10 ++++++++++ trunk/drivers/i2c/Makefile | 3 ++- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 73b1ff1300f0..d7be41bf0c69 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b5527a7766f0505dc72efe3cefe5e9dea826f611 +refs/heads/master: e2ca307439fb9df922c3e8891289a2ac05812fb7 diff --git a/trunk/drivers/i2c/Kconfig b/trunk/drivers/i2c/Kconfig index 8d8a00e5a30e..02ce9cff5fcf 100644 --- a/trunk/drivers/i2c/Kconfig +++ b/trunk/drivers/i2c/Kconfig @@ -61,6 +61,16 @@ config I2C_HELPER_AUTO In doubt, say Y. +config I2C_SMBUS + tristate "SMBus-specific protocols" if !I2C_HELPER_AUTO + help + Say Y here if you want support for SMBus extensions to the I2C + specification. At the moment, the only supported extension is + the SMBus alert protocol. + + This support is also available as a module. If so, the module + will be called i2c-smbus. + source drivers/i2c/algos/Kconfig source drivers/i2c/busses/Kconfig source drivers/i2c/chips/Kconfig diff --git a/trunk/drivers/i2c/Makefile b/trunk/drivers/i2c/Makefile index 7111c93bd3e6..acd0250c16a0 100644 --- a/trunk/drivers/i2c/Makefile +++ b/trunk/drivers/i2c/Makefile @@ -3,7 +3,8 @@ # obj-$(CONFIG_I2C_BOARDINFO) += i2c-boardinfo.o -obj-$(CONFIG_I2C) += i2c-core.o i2c-smbus.o +obj-$(CONFIG_I2C) += i2c-core.o +obj-$(CONFIG_I2C_SMBUS) += i2c-smbus.o obj-$(CONFIG_I2C_CHARDEV) += i2c-dev.o obj-y += busses/ chips/ algos/