]> git.karo-electronics.de Git - karo-tx-linux.git/commit
i2c: Make I2C available on UML
authorPeter Huewe <peterhuewe@gmx.de>
Mon, 10 Sep 2012 23:41:18 +0000 (09:41 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 10 Sep 2012 23:41:18 +0000 (09:41 +1000)
commit12dc268132e07afcf2e5432b429905bcc0348081
treef7b43f66248a8b680c95300364c3e3f3b8692406
parent15e73444858f21b89837d57cbaf2cb90988dc448
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