[PATCH] Fix macserial driver compilation

From: Paul Mackerras (paulus@samba.org)
Date: Thu Jun 12 2003 - 08:03:15 EST


There is a missing declaration of serial_driver in macserial.c,
causing the compilation to fail. This patch adds a suitable
declaration.

Please apply.

Thanks,
Paul.

diff -urN linux-2.5/drivers/macintosh/macserial.c pmac-2.5/drivers/macintosh/macserial.c
--- linux-2.5/drivers/macintosh/macserial.c 2003-06-12 20:33:22.000000000 +1000
+++ pmac-2.5/drivers/macintosh/macserial.c 2003-06-12 22:58:04.000000000 +1000
@@ -76,6 +76,8 @@
    in the order we want. */
 #define RECOVERY_DELAY eieio()
 
+static struct tty_driver *serial_driver;
+
 struct mac_zschannel zs_channels[NUM_CHANNELS];
 
 struct mac_serial zs_soft[NUM_CHANNELS];
-
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 Jun 15 2003 - 22:00:32 EST