summaryrefslogtreecommitdiff
path: root/openwrt/package/lcd4linux/patches/patch-ucdelay_h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2005-03-20 03:37:44 +0000
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2005-03-20 03:37:44 +0000
commit899db44607aa1d95d7a4b248db4adf32b797ee17 (patch)
tree896552572da0dd9801077459f865a75ba60d8328 /openwrt/package/lcd4linux/patches/patch-ucdelay_h
parent8ce9d46a299e0a4f2cfb42425ca69decf37ed7da (diff)
downloadmtk-20170518-899db44607aa1d95d7a4b248db4adf32b797ee17.zip
mtk-20170518-899db44607aa1d95d7a4b248db4adf32b797ee17.tar.gz
mtk-20170518-899db44607aa1d95d7a4b248db4adf32b797ee17.tar.bz2
add lcd4version. compiles now, but i have no clue if it will work with some lcd displays
SVN-Revision: 402
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 0000000..619594b
--- /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");
+ }
+
+