]> git.hungrycats.org Git - linux/commitdiff
[PATCH] I2C: clean up ISA dependancies
authorJean Delvare <khali@linux-fr.org>
Fri, 16 Jan 2004 06:12:27 +0000 (22:12 -0800)
committerTom Rini <trini@kernel.crashing.org>
Fri, 16 Jan 2004 06:12:27 +0000 (22:12 -0800)
Quoting myself:

> 1* Elektor depends on ISA.
> 2* ELV and Velleman do not depend on ISA.
> 3* i2c-isa is M by default, and has an additional help text
> 4* via686a autoselects i2c-isa
> 5* i2c-isa doesn't depend on ISA

Here's the patch:

drivers/i2c/busses/Kconfig
drivers/i2c/chips/Kconfig

index 4b3de0e5128bbdc1386e9e56392cdef805d8bba6..66d129dce5cd616421319e34fc50cb83f6b8bde2 100644 (file)
@@ -49,7 +49,7 @@ config I2C_AMD8111
 
 config I2C_ELEKTOR
        tristate "Elektor ISA card"
-       depends on I2C_ALGOPCF && BROKEN_ON_SMP
+       depends on I2C_ALGOPCF && ISA && BROKEN_ON_SMP
        help
          This supports the PCF8584 ISA bus I2C adapter.  Say Y if you own
          such an adapter.
@@ -59,7 +59,7 @@ config I2C_ELEKTOR
 
 config I2C_ELV
        tristate "ELV adapter"
-       depends on I2C_ALGOBIT && ISA
+       depends on I2C_ALGOBIT
        help
          This supports parallel-port I2C adapters called ELV.  Say Y if you
          own such an adapter.
@@ -321,7 +321,7 @@ config I2C_SIS96X
 
 config I2C_VELLEMAN
        tristate "Velleman K8000 adapter"
-       depends on I2C_ALGOBIT && ISA
+       depends on I2C_ALGOBIT
        help
          This supports the Velleman K8000 parallel-port I2C adapter.  Say Y
          if you own such an adapter.
index 0744cb6b9b789d2ef99ae4b20d1c040a34079fff..1057fee6f0044f37c3e8435053c80683d071094d 100644 (file)
@@ -117,6 +117,7 @@ config SENSORS_VIA686A
        tristate "VIA686A"
        depends on I2C && EXPERIMENTAL
        select I2C_SENSOR
+       select I2C_ISA
        help
          If you say yes here you get support for the integrated sensors in
          Via 686A/B South Bridges.