]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] fix FB_RADEON_I2C dependency
authorRoman Zippel <zippel@linux-m68k.org>
Sat, 14 Feb 2004 03:51:31 +0000 (19:51 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Sat, 14 Feb 2004 03:51:31 +0000 (19:51 -0800)
Thus fixes the weird kconfig message "optimize || ?", it's an old debug
check and is triggered by the unusual dependency.  It's not incorrect,
but the solution below is better and it's the same FB_MATROX_I2C already
uses.

I'll send a fix for the kconfig message later.

drivers/video/Kconfig

index cd73949a641a8e3cc43fe235497c9a27953649e8..214c7a9475d938ed457878a3de6573defd13ea69 100644 (file)
@@ -644,7 +644,8 @@ config FB_RADEON
 
 config FB_RADEON_I2C
        bool "DDC/I2C for ATI Radeon support"
-       depends on FB_RADEON && (I2C_ALGOBIT=FB_RADEON || I2C_ALGOBIT=y)
+       depends on FB_RADEON && I2C
+       select I2C_ALGOBIT
        default y
        help
          Say Y here if you want DDC/I2C support for your Radeon board.