Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Zippel <zippel@linux-m68k.org>2004-02-13 19:51:31 -0800
committerLinus Torvalds <torvalds@home.osdl.org>2004-02-13 19:51:31 -0800
commit415dd9193de86b7bcd71897e03f514d74590e5ae (patch)
treecb737d3c067bd1fe427d7da2940a90d52df1657c
parent5671cf331a4431967220c031100832db6f223e46 (diff)
[PATCH] fix FB_RADEON_I2C dependency
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.
-rw-r--r--drivers/video/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index cd73949a641a..214c7a9475d9 100644
--- a/drivers/video/Kconfig
+++ b/drivers/video/Kconfig
@@ -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.