[PATCH 2.4] Incorrect SCx200 dependency
From: Jean Delvare
Date: Sun Feb 22 2004 - 12:59:12 EST
Hi Marcelo,
It looks like there is a dependency problem for CONFIG_SCx200_I2C in
Linux 2.4.25. It should depend on CONFIG_SCx200_GPIO, not just on
CONFIG_SCx200. One of my previous patches was supposed to fix that
already, but it looks like I forgot about it then.
Patch follows, please apply.
Thanks
--- linux-2.4.25/drivers/i2c/Config.in.orig Sun Feb 22 10:11:14 2004
+++ linux-2.4.25/drivers/i2c/Config.in Sun Feb 22 18:46:19 2004
@@ -12,7 +12,7 @@
dep_tristate ' Philips style parallel port adapter' CONFIG_I2C_PHILIPSPAR $CONFIG_I2C_ALGOBIT $CONFIG_PARPORT
dep_tristate ' ELV adapter' CONFIG_I2C_ELV $CONFIG_I2C_ALGOBIT
dep_tristate ' Velleman K8000 adapter' CONFIG_I2C_VELLEMAN $CONFIG_I2C_ALGOBIT
- dep_tristate ' NatSemi SCx200 I2C using GPIO pins' CONFIG_SCx200_I2C $CONFIG_SCx200 $CONFIG_I2C_ALGOBIT
+ dep_tristate ' NatSemi SCx200 I2C using GPIO pins' CONFIG_SCx200_I2C $CONFIG_SCx200_GPIO $CONFIG_I2C_ALGOBIT
if [ "$CONFIG_SCx200_I2C" != "n" ]; then
int ' GPIO pin used for SCL' CONFIG_SCx200_I2C_SCL 12
int ' GPIO pin used for SDA' CONFIG_SCx200_I2C_SDA 13
--
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/