All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jim Nelson <james4765@verizon.net>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Patch to drivers/video/Kconfig [4 of 4]
Date: Mon, 18 Oct 2004 05:37:54 -0400	[thread overview]
Message-ID: <41738EF2.3030701@verizon.net> (raw)

[-- 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-riva-i2c-dependency.patch --]
[-- Type: text/x-patch, Size: 1001 bytes --]

--- drivers/video/Kconfig.orig	2004-10-16 11:58:32.738491881 -0400
+++ drivers/video/Kconfig	2004-10-16 12:24:54.896505429 -0400
@@ -428,8 +428,6 @@
 config FB_RIVA
 	tristate "nVidia Riva support"
 	depends on FB && PCI
-	select I2C_ALGOBIT if FB_RIVA_I2C
-	select I2C if FB_RIVA_I2C
 	select FB_MODE_HELPERS
 	help
 	  This driver supports graphics boards with the nVidia Riva/Geforce
@@ -441,7 +439,7 @@
 
 config FB_RIVA_I2C
        bool "Enable DDC Support"
-       depends on FB_RIVA
+       depends on FB_RIVA && I2C && I2C_ALGOBIT
        help
 	  This enables I2C support for nVidia Chipsets.  This is used
 	  only for getting EDID information from the attached display
@@ -451,6 +449,9 @@
 	  independently validate video mode parameters, you should say Y
 	  here.
 
+comment "You must enable I2C and I2C_ALGOBIT for nVidia Riva DDC Support."
+	depends on !(I2C && I2C_ALGOBIT) && FB_RIVA
+
 config FB_RIVA_DEBUG
 	bool "Lots of debug output from Riva(nVidia) driver"
 	depends on FB_RIVA

             reply	other threads:[~2004-10-18  9:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-18  9:37 Jim Nelson [this message]
2004-10-18  9:45 ` Patch to drivers/video/Kconfig [4 of 4] Geert Uytterhoeven
2004-10-18  9:52   ` Jim Nelson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41738EF2.3030701@verizon.net \
    --to=james4765@verizon.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.