From 22eb7ee3169d11d54f9fd2b49bbcf52abaf2acef Mon Sep 17 00:00:00 2001 From: Peter Huewe Date: Fri, 5 Oct 2012 22:23:52 +0200 Subject: [PATCH] --- yaml --- r: 331543 b: refs/heads/master c: 3ddb59d4bcaeca8109ac5eb8ad17368e940ac05e h: refs/heads/master i: 331541: d7aa3cce844a32e2fd8b00a0013b96e31fdebba3 331539: 3244af9d2e49ba28bde18cc984e8c8a1c4ac3adb 331535: 4f0a70ce33b7c3cfb6845dc3f58190aa1672f473 v: v3 --- [refs] | 2 +- trunk/drivers/i2c/Kconfig | 17 ++++++++++++++++- trunk/drivers/i2c/busses/Kconfig | 14 +------------- 3 files changed, 18 insertions(+), 15 deletions(-) diff --git a/[refs] b/[refs] index 0c446afd11f9..391c38e10cf8 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 230da094352869ac36bca524a294deb7bb3dd876 +refs/heads/master: 3ddb59d4bcaeca8109ac5eb8ad17368e940ac05e diff --git a/trunk/drivers/i2c/Kconfig b/trunk/drivers/i2c/Kconfig index 5a3bb3d738d8..2f8c76becc6b 100644 --- a/trunk/drivers/i2c/Kconfig +++ b/trunk/drivers/i2c/Kconfig @@ -4,7 +4,7 @@ menuconfig I2C tristate "I2C support" - depends on HAS_IOMEM + depends on !S390 select RT_MUTEXES ---help--- I2C (pronounce: I-squared-C) is a slow serial bus protocol used in @@ -49,6 +49,7 @@ config I2C_CHARDEV config I2C_MUX tristate "I2C bus multiplexing support" + depends on HAS_IOMEM help Say Y here if you want the I2C core to support the ability to handle multiplexed I2C bus topologies, by presenting each @@ -86,6 +87,19 @@ config I2C_SMBUS source drivers/i2c/algos/Kconfig source drivers/i2c/busses/Kconfig +config I2C_STUB + tristate "I2C/SMBus Test Stub" + depends on EXPERIMENTAL && m + default 'n' + help + This module may be useful to developers of SMBus client drivers, + especially for certain kinds of sensor chips. + + If you do build this module, be sure to read the notes and warnings + in . + + If you don't know what to do here, definitely say N. + config I2C_DEBUG_CORE bool "I2C Core debugging messages" help @@ -103,6 +117,7 @@ config I2C_DEBUG_ALGO config I2C_DEBUG_BUS bool "I2C Bus debugging messages" + depends on HAS_IOMEM help Say Y here if you want the I2C bus drivers to produce a bunch of debug messages to the system log. Select this if you are having diff --git a/trunk/drivers/i2c/busses/Kconfig b/trunk/drivers/i2c/busses/Kconfig index 42d9fdd63de0..8eed054e3293 100644 --- a/trunk/drivers/i2c/busses/Kconfig +++ b/trunk/drivers/i2c/busses/Kconfig @@ -3,6 +3,7 @@ # menu "I2C Hardware Bus support" + depends on HAS_IOMEM comment "PC SMBus host controller drivers" depends on PCI @@ -849,19 +850,6 @@ config I2C_SIBYTE help Supports the SiByte SOC on-chip I2C interfaces (2 channels). -config I2C_STUB - tristate "I2C/SMBus Test Stub" - depends on EXPERIMENTAL && m - default 'n' - help - This module may be useful to developers of SMBus client drivers, - especially for certain kinds of sensor chips. - - If you do build this module, be sure to read the notes and warnings - in . - - If you don't know what to do here, definitely say N. - config SCx200_I2C tristate "NatSemi SCx200 I2C using GPIO pins (DEPRECATED)" depends on SCx200_GPIO