public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andres Salomon <dilinger@queued.net>
To: Randy Dunlap <randy.dunlap@oracle.com>
Cc: akpm@linux-foundation.org, david-b@pacbell.net,
	jordan@cosmicpenguin.net, katzj@redhat.com, tiwai@suse.de,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] cs553x: fix build dependency problems
Date: Sun, 19 Apr 2009 20:00:51 -0400	[thread overview]
Message-ID: <20090419200051.235089e9@ephemeral> (raw)
In-Reply-To: <49EA77DE.7040700@oracle.com>

On Sat, 18 Apr 2009 18:01:18 -0700
Randy Dunlap <randy.dunlap@oracle.com> wrote:

> Andres, how does this look to you?
> 
> It fixes the problems that I know about.
> 
> 
> 

This may be okay as a separate patch, but doesn't really fix the problem.
cs553x-gpio isn't just for OLPC, it can be used by plain Geodes.  I've
lost track of the state of the patches at this point, but the solution
would be to simply have CONFIG_GPIO_CS553X depend upon PCI.




> From: Randy Dunlap <randy.dunlap@oracle.com>
> 
> Fix multiple build errors due to cs553x-gpio using GPIO APIs
> and using PCI APIs.
> 
> Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
> ---
>  arch/x86/Kconfig |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> --- mmotm-2009-0417-1519.orig/arch/x86/Kconfig
> +++ mmotm-2009-0417-1519/arch/x86/Kconfig
> @@ -1969,7 +1969,8 @@ config GEODE_MFGPT_TIMER
>  
>  config OLPC
>  	bool "One Laptop Per Child support"
> -	select GPIO_CS553X
> +	select GPIO_CS553X if PCI
> +	select GPIOLIB if PCI
>  	default n
>  	---help---
>  	  Add support for detecting the unique features of the OLPC

  reply	other threads:[~2009-04-20  0:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200904062355.n36NtLTf018342@imap1.linux-foundation.org>
2009-04-10 20:00 ` + cs553x-gpio-add-amd-cs5535-cs5536-gpio-driver-support-fix-fix.patch added to -mm tree Randy Dunlap
2009-04-13  1:52   ` Andres Salomon
2009-04-13  4:26     ` Randy Dunlap
2009-04-19  1:01       ` [PATCH] cs553x: fix build dependency problems Randy Dunlap
2009-04-20  0:00         ` Andres Salomon [this message]
2009-04-17 18:34     ` + cs553x-gpio-add-amd-cs5535-cs5536-gpio-driver-support-fix-fix.patch added to -mm tree Andrew Morton

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=20090419200051.235089e9@ephemeral \
    --to=dilinger@queued.net \
    --cc=akpm@linux-foundation.org \
    --cc=david-b@pacbell.net \
    --cc=jordan@cosmicpenguin.net \
    --cc=katzj@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=randy.dunlap@oracle.com \
    --cc=tiwai@suse.de \
    /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