]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] radeon config fix
authorAndrew Morton <akpm@osdl.org>
Thu, 26 Feb 2004 00:25:10 +0000 (16:25 -0800)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 26 Feb 2004 00:25:10 +0000 (16:25 -0800)
From: Herbert Xu <herbert@gondor.apana.org.au>

RADEON is selecting I2C_ALGOBIT but as kconfig currently does not propagate
selects up the dependency chain (that is according to Roman), this can
leave I2C as m while I2C_ALGOBIT is y.

drivers/video/Kconfig

index 3733a5a2ff471ba236888c90cd9e9b6ddd7a4285..763f259e84ae4aaa414d9b3974edde191119ad3f 100644 (file)
@@ -462,7 +462,6 @@ 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
@@ -550,6 +549,7 @@ 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
@@ -628,6 +628,7 @@ config FB_RADEON
        tristate "ATI Radeon display support"
        depends on FB && PCI
        select I2C_ALGOBIT if FB_RADEON_I2C
+       select I2C 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,7 @@ config FB_RADEON
 
 config FB_RADEON_I2C
        bool "DDC/I2C for ATI Radeon support"
-       depends on FB_RADEON && I2C
+       depends on FB_RADEON
        default y
        help
          Say Y here if you want DDC/I2C support for your Radeon board.