From: Kyle McMartin <kyle@mcmartin.ca>
To: Pekka Paalanen <pq@iki.fi>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Kconfig, Makefile and ifdef: mod as yes vs. no?
Date: Sat, 11 Jul 2009 17:53:43 -0400 [thread overview]
Message-ID: <20090711215343.GC31925@bombadil.infradead.org> (raw)
In-Reply-To: <20090712000625.7e1bffc2@daedalus.pq.iki.fi>
On Sun, Jul 12, 2009 at 12:06:25AM +0300, Pekka Paalanen wrote:
> +#ifdef CONFIG_BACKLIGHT_CLASS_DEVICE
>
You need to test _MODULE for the symbol too... since it's necessary to
be able to distinguish between symbols which exist in the vmlinux, and
symbols which require a module to be loaded.
#if defined(CONFIG_BACKLIGHT_CLASS_DEVICE) &&
defined(CONFIG_BACKLIGHT_CLASS_DEVICE_MODULE)
should work.
regards, Kyle
next prev parent reply other threads:[~2009-07-11 21:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-11 21:06 Pekka Paalanen
2009-07-11 21:53 ` Kyle McMartin [this message]
2009-07-12 9:07 ` Pekka Paalanen
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=20090711215343.GC31925@bombadil.infradead.org \
--to=kyle@mcmartin.ca \
--cc=linux-kernel@vger.kernel.org \
--cc=pq@iki.fi \
/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®