i2c: Make I2C available on UML
authorPeter Huewe <peterhuewe@gmx.de>
Fri, 5 Oct 2012 20:23:52 +0000 (22:23 +0200)
committerJean Delvare <khali@endymion.delvare>
Fri, 5 Oct 2012 20:23:52 +0000 (22:23 +0200)
commit3ddb59d4bcaeca8109ac5eb8ad17368e940ac05e
treec54c0687cf031ed816e5935ac2a1b2a39a877977
parent230da094352869ac36bca524a294deb7bb3dd876
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