[DRIVER PATCH] drivers/char/cyclades.c (it was Re: one more in cyclades)

From: henrique (henrique2.gobbi@cyclades.com)
Date: Mon Dec 09 2002 - 11:01:18 EST


Hi,

This is the patch to fix some compilation problems this driver was having. It
is against the kernel 2.5.50 driver. Please apply it for the next release.

thank you
Henrique

--------------------------------------------------------------------------------------
--- cyclades.c.old Mon Dec 9 15:48:53 2002
+++ cyclades.c Mon Dec 9 15:49:44 2002
@@ -12,7 +12,7 @@
  *
  * Initially written by Randolph Bentson <bentson@grieg.seaslug.org>.
  * Modified and maintained by Marcio Saito <marcio@cyclades.com>.
- * Currently maintained by Ivan Passos <ivan@cyclades.com>.
+ * Currently maintained by Henrique Gobbi <henrique.gobbi@cyclades.com>.
  *
  * For Technical support and installation problems, please send e-mail
  * to support@cyclades.com.
@@ -884,7 +884,7 @@
 

 static int cyz_timeron = 0;
 static struct timer_list cyz_timerlist = TIMER_INITIALIZER(cyz_poll, 0, 0);
-};
+
 #else /* CONFIG_CYZ_INTR */
 static void cyz_rx_restart(unsigned long);
 static struct timer_list cyz_rx_full_timer[NR_PORTS];
---------------------------------------------------------------------------------------

On Saturday 07 December 2002 05:26 am, Larry McVoy wrote:
> make -f scripts/Makefile.build obj=drivers/char
> gcc -Wp,-MD,drivers/char/.consolemap_deftbl.o.d -D__KERNEL__ -Iinclude
> -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing
> -fno-common -pipe -mpreferred-stack-boundary=2 -march=athlon
> -Iarch/i386/mach-generic -fomit-frame-pointer -nostdinc -iwithprefix
> include -DKBUILD_BASENAME=consolemap_deftbl
> -DKBUILD_MODNAME=consolemap_deftbl -c -o drivers/char/consolemap_deftbl.o
> drivers/char/consolemap_deftbl.c gcc -Wp,-MD,drivers/char/.defkeymap.o.d
> -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2
> -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
> -march=athlon -Iarch/i386/mach-generic -fomit-frame-pointer -nostdinc
> -iwithprefix include -DKBUILD_BASENAME=defkeymap
> -DKBUILD_MODNAME=defkeymap -c -o drivers/char/defkeymap.o
> drivers/char/defkeymap.c gcc -Wp,-MD,drivers/char/.cyclades.o.d
> -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2
> -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
> -march=athlon -Iarch/i386/mach-generic -fomit-frame-pointer -nostdinc
> -iwithprefix include -DKBUILD_BASENAME=cyclades
> -DKBUILD_MODNAME=cyclades -c -o drivers/char/cyclades.o
> drivers/char/cyclades.c drivers/char/cyclades.c:887: parse error before `}'
> make[2]: *** [drivers/char/cyclades.o] Error 1
> make[1]: *** [drivers/char] Error 2
> make: *** [drivers] Error 2
> -
> 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/



-
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 : Sun Dec 15 2002 - 22:00:16 EST