[2.4 patch] fix CONFIG_DS1742 Config.in entry

From: Adrian Bunk
Date: Fri Jan 09 2004 - 20:41:54 EST


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

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