Thibaut Laurent <thibaut@celestix.com> wrote:
> There's a typo in drivers/i2c/Config.in.
> CONFIG_SCx200_I2C is defined but CONFIG_I2C_SCx200 is tested...
>
> + dep_tristate ' NatSemi SCx200 I2C using GPIO pins' CONFIG_SCx200_I2C $CONFIG_ARCH_SCx200 $CONFIG_I2C_ALGOBIT
> + if [ "$CONFIG_I2C_SCx200" != "n" ]; then
> ^^^^^^^^^^^^^^^^^
> this should be CONFIG_SCx200_I2C
You are absolutely correct. I switched the names around and must have
missed that. A patch is attached.
Thanks,
/Christer
diff -ur linux/drivers/i2c/Config.in.orig linux/drivers/i2c/Config.in
--- linux/drivers/i2c/Config.in.orig Mon Mar 4 01:24:27 2002
+++ linux/drivers/i2c/Config.in Mon Mar 4 01:25:18 2002
@@ -14,7 +14,7 @@
dep_tristate ' ELV adapter' CONFIG_I2C_ELV $CONFIG_I2C_ALGOBIT
dep_tristate ' Velleman K9000 adapter' CONFIG_I2C_VELLEMAN $CONFIG_I2C_ALGOBIT
dep_tristate ' NatSemi SCx200 I2C using GPIO pins' CONFIG_SCx200_I2C $CONFIG_ARCH_SCx200 $CONFIG_I2C_ALGOBIT
- if [ "$CONFIG_I2C_SCx200" != "n" ]; then
+ if [ "$CONFIG_SCx200_I2C" != "n" ]; then
int ' GPIO pin used for SCL' CONFIG_SCx200_I2C_SCL -1
int ' GPIO pin used for SDA' CONFIG_SCx200_I2C_SDA -1
fi
-- "Just how much can I get away with and still go to heaven?" - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Thu Mar 07 2002 - 21:00:30 EST