package/lcd4linux: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/packages@30380 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@ -1,7 +1,5 @@
|
||||
Index: lcd4linux-847/drv_generic_parport.c
|
||||
===================================================================
|
||||
--- lcd4linux-847.orig/drv_generic_parport.c 2007-12-01 17:15:10.000000000 +0100
|
||||
+++ lcd4linux-847/drv_generic_parport.c 2007-12-01 17:15:11.000000000 +0100
|
||||
--- a/drv_generic_parport.c
|
||||
+++ b/drv_generic_parport.c
|
||||
@@ -39,16 +39,6 @@
|
||||
#include <sys/stat.h>
|
||||
#include <sys/ioctl.h>
|
||||
@ -19,9 +17,9 @@ Index: lcd4linux-847/drv_generic_parport.c
|
||||
#if defined (HAVE_LINUX_PARPORT_H) && defined (HAVE_LINUX_PPDEV_H)
|
||||
#define WITH_PPDEV
|
||||
#include <linux/parport.h>
|
||||
@@ -65,6 +55,11 @@
|
||||
#define PARPORT_STATUS_BUSY 0x80
|
||||
#endif
|
||||
@@ -68,6 +58,11 @@
|
||||
/* these signals are inverted by hardware on the parallel port */
|
||||
#define PARPORT_CONTROL_INVERTED (PARPORT_CONTROL_STROBE | PARPORT_CONTROL_SELECT | PARPORT_CONTROL_AUTOFD)
|
||||
|
||||
+#ifndef WITH_OUTB
|
||||
+#define inb(foo) 0
|
||||
|
Reference in New Issue
Block a user