[Compile Regression in 2.4.25-pre8][PATCH 12/42]

From: Kronos
Date: Mon Feb 02 2004 - 16:07:34 EST



include/linux/autoconf.h:2070:1: warning: "CONFIG_SERIAL_SHARE_IRQ" redefined
vac-serial.c:13:1: warning: this is the location of the previous definition

Don't define CONFIG_SERIAL_SHARE_IRQ if it's already defined by the
build system.

diff -Nru -X dontdiff linux-2.4-vanilla/drivers/char/vac-serial.c linux-2.4/drivers/char/vac-serial.c
--- linux-2.4-vanilla/drivers/char/vac-serial.c Tue Nov 11 17:51:12 2003
+++ linux-2.4/drivers/char/vac-serial.c Sat Jan 31 19:19:50 2004
@@ -10,7 +10,9 @@
#define CONFIG_SERIAL_NOPAUSE_IO
#define SERIAL_DO_RESTART

+#ifndef CONFIG_SERIAL_SHARE_IRQ
#define CONFIG_SERIAL_SHARE_IRQ
+#endif

/* Set of debugging defines */

--
Reply-To: kronos@xxxxxxxxxxxxxx
Home: http://kronoz.cjb.net
"Sei l'unica donna della mia vita".
(Adamo)
-
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/