[2.4 patch] fix CONFIG_DS1742 Config.in entry

Adrian Bunk
2004-01-10T01:39:52Z

On Wed, Dec 31, 2003 at 04:26:43PM +0100, Andreas Haumer wrote:
>
> Hi!

Hi Andreas!

> Marcelo Tosatti wrote:
> > Hi,
> >
> > Here goes -pre3. It contains a PPC32/SPARC update, some i2c cleanups, LVM
> > update, network update, a new WAN driver, amongst others.
> >
> Great!
>
> > It should show up in ftp.kernel.org in a few minutes.
> >
> Here's a first report:
>
> *) (small) problems with "make xconfig"
> - "Dallas DS1742 RTC support" can be selected on x86 platform,
> though it can't be compiled
>...

Thanks for this report.

This was due to a small syntax error introduced by the MIPS char driver
update.

The following patch fixes this issue:

--- linux-2.4.25-pre4-full/drivers/char/Config.in.old 2004-01-10 02:33:41.000000000 +0100
+++ linux-2.4.25-pre4-full/drivers/char/Config.in 2004-01-10 02:35:48.000000000 +0100
@@ -323,7 +323,7 @@
if [ "$CONFIG_SGI_IP27" = "y" ]; then
bool 'SGI M48T35 RTC support' CONFIG_SGI_IP27_RTC
fi
-if [ "$CONFIG_TOSHIBA_RBTX4927" = "y" -o "$CONFIG_TOSHIBA_JMR3927" ]; then
+if [ "$CONFIG_TOSHIBA_RBTX4927" = "y" -o "$CONFIG_TOSHIBA_JMR3927" = "y" ]; then
tristate 'Dallas DS1742 RTC support' CONFIG_DS1742
fi

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