Commit c2ce36c1 authored by Jean Delvare's avatar Jean Delvare Committed by Greg Kroah-Hartman

[PATCH] I2C: Fix SCx200 dependancies

The following patch fixes incorrect dependencies (as far as I can see)
for the SCx200 modules. A similar patch (with even more fixes) is also
needed for Linux 2.4, and will be part of my next wave to Marcelo. Note
that I don't have the necessary hardware to actually test anything, but
a quick look at the code doesn't leave much place for doubt IMHO.
parent fc5f46ff
...@@ -202,7 +202,7 @@ config I2C_SAVAGE4 ...@@ -202,7 +202,7 @@ config I2C_SAVAGE4
config SCx200_I2C config SCx200_I2C
tristate "NatSemi SCx200 I2C using GPIO pins" tristate "NatSemi SCx200 I2C using GPIO pins"
depends on SCx200 && I2C_ALGOBIT depends on SCx200_GPIO && I2C_ALGOBIT
help help
Enable the use of two GPIO pins of a SCx200 processor as an I2C bus. Enable the use of two GPIO pins of a SCx200 processor as an I2C bus.
...@@ -229,7 +229,7 @@ config SCx200_I2C_SDA ...@@ -229,7 +229,7 @@ config SCx200_I2C_SDA
config SCx200_ACB config SCx200_ACB
tristate "NatSemi SCx200 ACCESS.bus" tristate "NatSemi SCx200 ACCESS.bus"
depends on I2C_ALGOBIT!=n && I2C depends on I2C
help help
Enable the use of the ACCESS.bus controllers of a SCx200 processor. Enable the use of the ACCESS.bus controllers of a SCx200 processor.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment