]> git.karo-electronics.de Git - karo-tx-linux.git/commit
i2c: Make I2C available on UML
authorPeter Huewe <peterhuewe@gmx.de>
Tue, 25 Sep 2012 00:30:54 +0000 (10:30 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 25 Sep 2012 00:30:54 +0000 (10:30 +1000)
commit2611647104d00a78c16fa8cfb122f9e7e7794176
tree479125fe56ad45c7f5027c1fb1dcc5ce2a11c706
parentab1fe450a4f2776b8e8a1009282475ce96ffb51c
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.]

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