From c2ce36c1a3eaf51113ccd3e571bbca5a319123af Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Mon, 29 Dec 2003 20:10:08 -0800 Subject: [PATCH] [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. --- drivers/i2c/busses/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig index 5037884d2254b..9ffb555396a2f 100644 --- a/drivers/i2c/busses/Kconfig +++ b/drivers/i2c/busses/Kconfig @@ -202,7 +202,7 @@ config I2C_SAVAGE4 config SCx200_I2C tristate "NatSemi SCx200 I2C using GPIO pins" - depends on SCx200 && I2C_ALGOBIT + depends on SCx200_GPIO && I2C_ALGOBIT help Enable the use of two GPIO pins of a SCx200 processor as an I2C bus. @@ -229,7 +229,7 @@ config SCx200_I2C_SDA config SCx200_ACB tristate "NatSemi SCx200 ACCESS.bus" - depends on I2C_ALGOBIT!=n && I2C + depends on I2C help Enable the use of the ACCESS.bus controllers of a SCx200 processor. -- 2.53.0