]> git.karo-electronics.de Git - karo-tx-linux.git/commit
i2c: Make I2C available on UML
authorPeter Huewe <peterhuewe@gmx.de>
Tue, 2 Oct 2012 00:00:57 +0000 (10:00 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 2 Oct 2012 00:00:57 +0000 (10:00 +1000)
commit9c335a0104884a7fa03d814cf5ac945357097978
treeddeee0f3f2ecadbd960d0a7ef6f6ebb5286fbd72
parent108d4963811ef211a22194bdcac506e8a3e68b0b
i2c: Make I2C available on UML

Remove the global dependency of the I2C subsystem on HAS_IOMEM and
move the dependency to the i2c/busses submenu, with an exception for
i2c-stub.

The generic I2C part does not need to have HAS_IOMEM set and thus now
becomes available in UML, so the I2C subsystem can now be used, e.g.
by the i2c-stub driver, for development of I2C device drivers.

[JD: Some adjustments.]

[Heiko Carstens: Keep I2C disabled on S390.]

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/Kconfig
drivers/i2c/busses/Kconfig