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

Kronos
2004-02-02T21:03:23Z

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