linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ben Hutchings <ben@decadent.org.uk>
To: linux-fbdev@vger.kernel.org
Subject: [PATCH] viafb: Add transitive dependencies via gpiolib
Date: Tue, 13 Jul 2010 23:30:45 +0000	[thread overview]
Message-ID: <1279063845.6139.129.camel@localhost> (raw)

FB_VIA now selects GPIOLIB, but that is not available on all
architectures.  Change FB_VIA dependencies to include GPIOLIB
dependencies.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
---
I think the better solution is to make GPIOLIB available for all
platforms, but this will deal with the problem in the short term (i.e.
for 2.6.35).

Ben.

 drivers/video/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index 3d94a14..bc4534d 100644
--- a/drivers/video/Kconfig
+++ b/drivers/video/Kconfig
@@ -1505,7 +1505,7 @@ config FB_SIS_315
 
 config FB_VIA
        tristate "VIA UniChrome (Pro) and Chrome9 display support"
-       depends on FB && PCI
+       depends on FB && PCI && (ARCH_WANT_OPTIONAL_GPIOLIB || ARCH_REQUIRE_GPIOLIB)
        select FB_CFB_FILLRECT
        select FB_CFB_COPYAREA
        select FB_CFB_IMAGEBLIT
-- 
1.7.1



             reply	other threads:[~2010-07-13 23:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-13 23:30 Ben Hutchings [this message]
2010-07-13 23:35 ` [PATCH] viafb: Add transitive dependencies via gpiolib Dave Airlie
2010-07-13 23:48 ` Ben Hutchings
2010-07-14 19:35 ` Florian Tobias Schandinat
2010-07-19 22:34 ` Jonathan Corbet

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=1279063845.6139.129.camel@localhost \
    --to=ben@decadent.org.uk \
    --cc=linux-fbdev@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).