2.6: Problem multiple bool/tristate prompts

From: Adrian Bunk (bunk@fs.tum.de)
Date: Thu Aug 07 2003 - 18:59:06 EST


Hi Roman,

I observed a problem with the following Kconfig snippet I tried to add
to 2.6.0-test2-mm5:

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.

cu
Adrian

-- 

"Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Aug 07 2003 - 22:00:41 EST