[PATCH] ppc32: macserial.c missing variable declaration

From: Wojciech 'Sas' Cieciwa
Date: Tue Mar 02 2004 - 17:23:27 EST



in file drivers/macintosh/macserial.c are two undeclared variable named
"cmd"

based on 2.6.4-rc1+cset-20040302_0821.
fixed by this patch.

--- linux-2.6.4-rc1/drivers/macintosh/macserial.c.org 2004-02-27 23:21:29.000000000 +0100
+++ linux-2.6.4-rc1/drivers/macintosh/macserial.c 2004-03-02 21:49:44.533392464 +0100
@@ -1781,6 +1781,7 @@
{
struct mac_serial * info = (struct mac_serial *)tty->driver_data;
unsigned char control, status;
+ unsigned int cmd;
unsigned long flags;

#ifdef CONFIG_KGDB
@@ -1811,6 +1812,7 @@
{
struct mac_serial * info = (struct mac_serial *)tty->driver_data;
unsigned int arg, bits;
+ unsigned int cmd;
unsigned long flags;

#ifdef CONFIG_KGDB


--
{Wojciech 'Sas' Cieciwa} {Member of PLD Team }
{e-mail: cieciwa@xxxxxxxxxxxxxxxxxxxxx, http://www2.zarz.agh.edu.pl/~cieciwa}
-
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/