Skip to contentSkip to conversation

Patch to drivers/video/Kconfig [2 of 4]

PATCH Jim Nelson 1 participant 1 message Oct 18, 2004

lore
Share & tools
lore

Jim Nelson

author
#0 lore raw

Fix undefined symbol errors in "make config" on architectures that do not have I2C (sparc, primarily)

Apply against 2.6.9-rc4.

diff -u drivers/video/Kconfig.orig drivers/video/Kconfig

video/Kconfig renamed from video/Kconfig.orig +4 -2
@@ -586,10 +586,12 @@
 	depends on FB_MATROX && (FB_MATROX_G450 || FB_MATROX_G100A)
 	default y
 
+comment "Enable I2C and I2C_ALGOBIT to enable Matrox I2C support."
+	depends on FB_MATROX && !(I2C && I2C_ALGOBIT)
+
 config FB_MATROX_I2C
 	tristate "Matrox I2C support"
-	depends on FB_MATROX && I2C
-	select I2C_ALGOBIT
+	depends on FB_MATROX && I2C && 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