]> git.hungrycats.org Git - linux/commitdiff
Fix the dependency chain for I2C_ALGOBIT from the FB
authorLinus Torvalds <torvalds@home.osdl.org>
Tue, 17 Feb 2004 08:57:17 +0000 (00:57 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Tue, 17 Feb 2004 08:57:17 +0000 (00:57 -0800)
drivers that need it.

This allows us to have I2C as a module iff the FB driver
that needs it is a module.

drivers/video/Kconfig

index 308ec9f35b5b421d944ba0a8aa6736b325965bbe..3733a5a2ff471ba236888c90cd9e9b6ddd7a4285 100644 (file)
@@ -462,6 +462,7 @@ config FB_I810_GTF
 config FB_MATROX
        tristate "Matrox acceleration"
        depends on FB && PCI
+       select I2C_ALGOBIT if FB_MATROX_I2C
        ---help---
          Say Y here if you have a Matrox Millennium, Matrox Millennium II,
          Matrox Mystique, Matrox Mystique 220, Matrox Productiva G100, Matrox
@@ -549,7 +550,6 @@ config FB_MATROX_G100
 config FB_MATROX_I2C
        tristate "Matrox I2C support"
        depends on FB_MATROX && I2C
-       select I2C_ALGOBIT
        ---help---
          This drivers creates I2C buses which are needed for accessing the
          DDC (I2C) bus present on all Matroxes, an I2C bus which
@@ -627,6 +627,7 @@ config FB_RADEON_OLD
 config FB_RADEON
        tristate "ATI Radeon display support"
        depends on FB && PCI
+       select I2C_ALGOBIT if FB_RADEON_I2C
        help
          Choose this option if you want to use an ATI Radeon graphics card as
          a framebuffer device.  There are both PCI and AGP versions.  You
@@ -645,7 +646,6 @@ config FB_RADEON
 config FB_RADEON_I2C
        bool "DDC/I2C for ATI Radeon support"
        depends on FB_RADEON && I2C
-       select I2C_ALGOBIT
        default y
        help
          Say Y here if you want DDC/I2C support for your Radeon board.