summaryrefslogtreecommitdiffstats
path: root/openwrt/package/lcd4linux/patches/patch-ucdelay_h
diff options
context:
space:
mode:
authorwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-03-20 03:37:44 +0000
committerwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-03-20 03:37:44 +0000
commit34d7c8af2ff40e5fff7b67bfbe523e976987e92a (patch)
tree896552572da0dd9801077459f865a75ba60d8328 /openwrt/package/lcd4linux/patches/patch-ucdelay_h
parentae1888135d29f85c917c5602f584abba76be12ea (diff)
add lcd4version. compiles now, but i have no clue if it will work with some lcd displays
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@402 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/lcd4linux/patches/patch-ucdelay_h')
-rw-r--r--openwrt/package/lcd4linux/patches/patch-ucdelay_h11
1 files changed, 11 insertions, 0 deletions
diff --git a/openwrt/package/lcd4linux/patches/patch-ucdelay_h b/openwrt/package/lcd4linux/patches/patch-ucdelay_h
new file mode 100644
index 000000000..619594b62
--- /dev/null
+++ b/openwrt/package/lcd4linux/patches/patch-ucdelay_h
@@ -0,0 +1,11 @@
+--- lcd4linux-0.10.0-RC1/udelay.h 2004-06-26 14:05:00.000000000 +0200
++++ lcd-patched/udelay.h 2005-03-19 15:00:54.835892666 +0100
+@@ -69,7 +69,7 @@
+ /* REP NOP (PAUSE) is a good thing to insert into busy-wait loops. */
+ static inline void rep_nop (void)
+ {
+- __asm__ __volatile__("rep; nop");
++ __asm__ __volatile__("nop");
+ }
+
+