another fix for the ar7 serial port

SVN-Revision: 1378
This commit is contained in:
Felix Fietkau 2005-07-08 17:22:57 +00:00
parent 715ec726d6
commit 28f2598159

View file

@ -3356,7 +3356,7 @@ diff -urN linux.old/drivers/char/serial.c linux.dev/drivers/char/serial.c
* needed for certain old 386 machines, I've left these #define's * needed for certain old 386 machines, I've left these #define's
* in.... * in....
*/ */
+#ifdef CONFIG_AR7 +#ifndef CONFIG_AR7
#define serial_inp(info, offset) serial_in(info, offset) #define serial_inp(info, offset) serial_in(info, offset)
#define serial_outp(info, offset, value) serial_out(info, offset, value) #define serial_outp(info, offset, value) serial_out(info, offset, value)
+#endif +#endif