Skip to contentSkip to conversation

Incorrect SCx200 dependency

PATCH New Jean Delvare 1 participant 1 message Feb 22, 2004 I2C

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Incorrect SCx200 dependency

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

drivers/i2c/Config.in renamed from drivers/i2c/Config.in.orig +1 -1
@@ -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
Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/