From: Roman Zippel <zippel@linux-m68k.org>
To: Adrian Bunk <bunk@fs.tum.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6: Problem multiple bool/tristate prompts
Date: Fri, 8 Aug 2003 12:03:45 +0200 (CEST) [thread overview]
Message-ID: <Pine.LNX.4.44.0308081135520.714-100000@serv> (raw)
In-Reply-To: <20030807235905.GO16091@fs.tum.de>
Hi,
On Fri, 8 Aug 2003, Adrian Bunk wrote:
> config BLK_DEV_PS2
> tristate "PS/2 ESDI hard disk support" if BROKEN_MODULAR
> bool "PS/2 ESDI hard disk support" if !BROKEN_MODULAR
>
>
> Every "make *config" gives the warning
>
> drivers/block/Kconfig:45: prompt redefined
> drivers/block/Kconfig:45:warning: type of 'BLK_DEV_PS2' redefined from
> 'tristate' to 'boolean'
>
> and the symbol is handled as tristate although BROKEN_MODULAR isn't
> defined.
A symbol can have only a single type and the warning is a bit misleading,
the new type definition is simply ignored.
I'm not sure what you're trying makes really sense, but you have to use a
separate symbol:
config BLK_DEV_PS2_B
bool "PS/2 ESDI hard disk support" if !BROKEN_MODULAR
config BLK_DEV_PS2
tristate "PS/2 ESDI hard disk support" if BROKEN_MODULAR
default BLK_DEV_PS2_B
bye, Roman
next prev parent reply other threads:[~2003-08-08 10:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-07 23:59 2.6: Problem multiple bool/tristate prompts Adrian Bunk
2003-08-08 10:03 ` Roman Zippel [this message]
2003-08-08 10:37 ` Adrian Bunk
2003-08-08 13:26 ` Roman Zippel
-- strict thread matches above, loose matches on Subject: below --
2003-08-08 14:09 John Bradford
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=Pine.LNX.4.44.0308081135520.714-100000@serv \
--to=zippel@linux-m68k.org \
--cc=bunk@fs.tum.de \
--cc=linux-kernel@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