public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2.4] Incorrect SCx200 dependency
@ 2004-02-22 17:57 Jean Delvare
  0 siblings, 0 replies; only message in thread
From: Jean Delvare @ 2004-02-22 17:57 UTC (permalink / raw)
  To: Marcelo Tosatti; +Cc: LKML

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/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-02-22 17:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-22 17:57 [PATCH 2.4] Incorrect SCx200 dependency Jean Delvare

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox