mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-28 05:54:36 +02:00
another fix for the ar7 serial port
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1378 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
468a29a416
commit
85edf92375
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user