From: David Miller <davem@davemloft.net>
To: elvis.dowson@mac.com
Cc: linux-kernel@vger.kernel.org, luciano.coelho@nokia.com
Subject: Re: #ifdef CONFIG_ checks not working
Date: Tue, 26 Oct 2010 08:26:37 -0700 (PDT) [thread overview]
Message-ID: <20101026.082637.193705328.davem@davemloft.net> (raw)
In-Reply-To: <47266B0D-0A99-4C5F-BA85-FCC8986E8862@mac.com>
From: Elvis Dowson <elvis.dowson@mac.com>
Date: Tue, 26 Oct 2010 18:28:22 +0400
> #ifdef CONFIG_WL1271
> printk(KERN_INFO "%s: CONFIG_WL1271 detected\n", __func__);
> #else
> printk(KERN_INFO "%s: CONFIG_WL1271 not detected\n", __func__);
> #endif
If you set WL1271=m then CONFIG_WL1271_MODULE will be set, not
CONFIG_WL1271.
The latter will only be set if you enable the option with "y".
prev parent reply other threads:[~2010-10-26 15:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-26 14:28 Elvis Dowson
2010-10-26 14:35 ` Elvis Dowson
2010-10-26 14:48 ` Alan Cox
2010-10-26 15:26 ` David Miller [this message]
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=20101026.082637.193705328.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=elvis.dowson@mac.com \
--cc=linux-kernel@vger.kernel.org \
--cc=luciano.coelho@nokia.com \
/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
all inboxes | Powered by JetHome®