linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Michael Buesch <mb@bu3sch.de>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: linux-wireless@vger.kernel.org
Subject: Re: arm allmodconfig
Date: Thu, 9 Aug 2007 00:13:06 +0200	[thread overview]
Message-ID: <200708090013.06846.mb@bu3sch.de> (raw)
In-Reply-To: <20070808145705.756597b0.akpm@linux-foundation.org>

On Wednesday 08 August 2007 23:57:05 Andrew Morton wrote:
> drivers/net/wireless/bcm43xx-mac80211/bcm43xx_main.c:4038: error: implicit declaration of function `ssb_pcihost_register'
> drivers/net/wireless/bcm43xx-mac80211/bcm43xx_main.c:4055: error: implicit declaration of function `ssb_pcihost_unregister'

I have no idea how this is possible.

bcm43xx_main.c:

#ifdef CONFIG_BCM43XX_MAC80211_PCI
	err = ssb_pcihost_register(&bcm43xx_pci_driver);
	if (err)
		goto err_dfs_exit;
#endif


bcm43xx Kconfig:

config BCM43XX_MAC80211_PCI
	bool "BCM43xx PCI device support"
	depends on BCM43XX_MAC80211 && PCI
	select SSB_PCIHOST
	select SSB_DRIVER_PCICORE


ssb Kconfig:

config SSB_PCIHOST
	bool "Support for SSB on PCI-bus host"
	depends on SSB && PCI


ssb function declaration:

#ifdef CONFIG_SSB_PCIHOST
/* PCI-host wrapper driver */
extern int ssb_pcihost_register(struct pci_driver *driver);
static inline void ssb_pcihost_unregister(struct pci_driver *driver)
{
	pci_unregister_driver(driver);
}
#endif /* CONFIG_SSB_PCIHOST */


So what is going on? CONFIG_BCM43XX_MAC80211_PCI must be enabled.
Otherwise the func call would be ifdef'ed out. So but if
it is enabled, it would SELECT SSB_PCIHOST. Which would enable
the declaration and definition of ssb_pcihost_register().
What am I missing?

-- 
Greetings Michael.

  parent reply	other threads:[~2007-08-08 22:13 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-08 21:57 arm allmodconfig Andrew Morton
2007-08-08 22:10 ` Ivo van Doorn
2007-08-08 22:13 ` Michael Buesch [this message]
2007-08-08 22:26   ` Andrew Morton
2007-08-08 22:32     ` Andrew Morton
2007-08-08 22:37       ` Andrew Morton
2007-08-08 22:38     ` Michael Buesch
2007-08-08 22:52       ` Andrew Morton
2007-08-08 23:03         ` Michael Buesch
2007-08-09  0:04         ` Michael Buesch
2007-08-09  0:21           ` 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=200708090013.06846.mb@bu3sch.de \
    --to=mb@bu3sch.de \
    --cc=akpm@linux-foundation.org \
    --cc=linux-wireless@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).