public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Patch to drivers/video/Kconfig [3 of 4]
@ 2004-10-18  9:37 Jim Nelson
  0 siblings, 0 replies; only message in thread
From: Jim Nelson @ 2004-10-18  9:37 UTC (permalink / raw)
  To: Linux Kernel Mailing List

[-- Attachment #1: Type: text/plain, Size: 187 bytes --]

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


[-- Attachment #2: drivers_video_kconfig-fix-radeon-dependency.patch --]
[-- Type: text/x-patch, Size: 866 bytes --]

--- drivers/video/Kconfig.orig	2004-10-16 11:58:32.738491881 -0400
+++ drivers/video/Kconfig	2004-10-16 13:07:09.222883919 -0400
@@ -667,8 +667,6 @@
 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
 	select FB_MODE_HELPERS
 	help
 	  Choose this option if you want to use an ATI Radeon graphics card as
@@ -685,9 +683,12 @@
 	  There is a product page at
 	  <http://www.ati.com/na/pages/products/pc/radeon32/index.html>.
 
+comment "Enable I2C and I2C_ALGOBIT to enable ATI Radeon DDC/I2C support."
+	depends on FB_RADEON && !(I2C && I2C_ALGOBIT)
+
 config FB_RADEON_I2C
 	bool "DDC/I2C for ATI Radeon support"
-	depends on FB_RADEON
+	depends on FB_RADEON && I2C && I2C_ALGOBIT
 	default y
 	help
 	  Say Y here if you want DDC/I2C support for your Radeon board. 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-10-18  9:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-18  9:37 Patch to drivers/video/Kconfig [3 of 4] Jim Nelson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox