lcd4linux: fix compile (#1981)
[openwrt/svn-archive/archive.git] / utils / lcd4linux / patches / 140-no_repnop_T6963.patch
1 Index: lcd4linux-0.10.0+cvs20051015.orig/drv_T6963.c
2 ===================================================================
3 --- lcd4linux-0.10.0+cvs20051015.orig.orig/drv_T6963.c 2007-07-07 14:02:55.000000000 +0200
4 +++ lcd4linux-0.10.0+cvs20051015.orig/drv_T6963.c 2007-07-07 14:02:57.000000000 +0200
5 @@ -170,7 +170,9 @@
6 /* wait for STA0=1 and STA1=1 */
7 n = 0;
8 do {
9 +#if 0
10 rep_nop();
11 +#endif
12 if (++n > 1000) {
13 debug("hang in status1");
14 bug = 1;
15 @@ -206,7 +208,9 @@
16 /* wait for STA3=1 */
17 n = 0;
18 do {
19 +#if 0
20 rep_nop();
21 +#endif
22 if (++n > 1000) {
23 debug("hang in status2");
24 bug = 1;