All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Michael Buesch <mb@bu3sch.de>
Cc: Al Viro <viro@ftp.linux.org.uk>,
	gregkh@suse.de, David Brownell <dbrownell@users.sourceforge.net>,
	"John W. Linville" <linville@tuxdriver.com>,
	linux-kernel@vger.kernel.org
Subject: [patch] ssb: fix build failure
Date: Mon, 15 Oct 2007 15:56:32 +0200	[thread overview]
Message-ID: <20071015135632.GA31579@elte.hu> (raw)
In-Reply-To: <20071015135041.GB30221@elte.hu>


* Ingo Molnar <mingo@elte.hu> wrote:

> have triggered a new SSB build failure meanwhile:
> 
> drivers/built-in.o: In function `ssb_pcmcia_switch_coreidx':
> : undefined reference to `pcmcia_access_configuration_register'

the patch below fixes it for me. PCI seems to have a similar bug as 
well.

	Ingo

----------------->
Subject: ssb: fix build failure
From: Ingo Molnar <mingo@elte.hu>

fix build failure if PCMCIA=m but SSB=y:

drivers/built-in.o: In function `ssb_pcmcia_switch_coreidx':
: undefined reference to `pcmcia_access_configuration_register'

(fix symmetric bug for PCI too.)

Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
 drivers/ssb/Kconfig |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Index: linux/drivers/ssb/Kconfig
===================================================================
--- linux.orig/drivers/ssb/Kconfig
+++ linux/drivers/ssb/Kconfig
@@ -22,7 +22,7 @@ config SSB
 
 config SSB_PCIHOST_POSSIBLE
 	bool
-	depends on SSB && PCI
+	depends on SSB && (PCI = SSB)
 	default y
 
 config SSB_PCIHOST
@@ -37,7 +37,7 @@ config SSB_PCIHOST
 
 config SSB_PCMCIAHOST_POSSIBLE
 	bool
-	depends on SSB && PCMCIA && EXPERIMENTAL
+	depends on SSB && (PCMCIA = SSB) && EXPERIMENTAL
 	default y
 
 config SSB_PCMCIAHOST

  reply	other threads:[~2007-10-15 13:56 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-14  3:29 [bug] usb build failure, latest -git Ingo Molnar
2007-10-14  3:35 ` Al Viro
2007-10-14  4:04   ` Ingo Molnar
2007-10-15 10:53   ` Ingo Molnar
2007-10-15 12:58     ` Michael Buesch
2007-10-15 13:50       ` [build bug] drivers/ssb " Ingo Molnar
2007-10-15 13:56         ` Ingo Molnar [this message]
2007-10-15 17:38         ` Ingo Molnar
2007-10-15 17:43           ` [patch] usb: fix ssb_ohci_probe() build bug Ingo Molnar
2007-10-15 18:08             ` Michael Buesch
2007-10-24 19:46               ` Ingo Molnar
2007-10-24 20:21                 ` Greg KH
2007-10-14  3:40 ` [bug] usb build failure, latest -git Gabriel C
2007-10-14  9:32 ` Michael Buesch
  -- strict thread matches above, loose matches on Subject: below --
2007-10-15 14:23 [patch] ssb: fix build failure Michael Buesch
2007-10-15 15:06 ` Randy Dunlap
2007-10-15 15:10   ` Ingo Molnar
2007-10-15 15:14     ` Randy Dunlap

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=20071015135632.GA31579@elte.hu \
    --to=mingo@elte.hu \
    --cc=dbrownell@users.sourceforge.net \
    --cc=gregkh@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    --cc=mb@bu3sch.de \
    --cc=viro@ftp.linux.org.uk \
    /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.