aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/pxafb.h
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2005-09-09 16:10:03 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-09 17:03:40 -0400
commitba44cd2d8abc3271a608b42cdbf55e1e575e2ba5 (patch)
tree7416f8acd8a76e5b7beddda61d03cd2a16b5bd03 /drivers/video/pxafb.h
parent61ab7903b8cd772d3bfb28bc26d02c599cfb0e5b (diff)
[PATCH] pxafb: Add hsync time reporting hook
To solve touchscreen interference problems devices like the Sharp Zaurus SL-C3000 need to know the length of the horitzontal sync pulses. This patch adds a hook to pxafb so the touchscreen driver can function correctly. Signed-Off-By: Richard Purdie <rpurdie@rpsys.net> Signed-off-by: Antonino Daplas <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/video/pxafb.h')
-rw-r--r--drivers/video/pxafb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/pxafb.h b/drivers/video/pxafb.h
index de15fec5f82f..22c00be786a8 100644
--- a/drivers/video/pxafb.h
+++ b/drivers/video/pxafb.h
@@ -83,6 +83,8 @@ struct pxafb_info {
83 u_int reg_lccr2; 83 u_int reg_lccr2;
84 u_int reg_lccr3; 84 u_int reg_lccr3;
85 85
86 unsigned long hsync_time;
87
86 volatile u_char state; 88 volatile u_char state;
87 volatile u_char task_state; 89 volatile u_char task_state;
88 struct semaphore ctrlr_sem; 90 struct semaphore ctrlr_sem;