summaryrefslogtreecommitdiffstats
path: root/drivers/video/pxafb.h
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2005-09-09 13:10:03 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-09 14:03:40 -0700
commitba44cd2d8abc3271a608b42cdbf55e1e575e2ba5 (patch)
tree7416f8acd8a76e5b7beddda61d03cd2a16b5bd03 /drivers/video/pxafb.h
parent61ab7903b8cd772d3bfb28bc26d02c599cfb0e5b (diff)
downloadlinux-ba44cd2d8abc3271a608b42cdbf55e1e575e2ba5.tar.gz
linux-ba44cd2d8abc3271a608b42cdbf55e1e575e2ba5.tar.bz2
linux-ba44cd2d8abc3271a608b42cdbf55e1e575e2ba5.zip
[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 {
u_int reg_lccr2;
u_int reg_lccr3;
+ unsigned long hsync_time;
+
volatile u_char state;
volatile u_char task_state;
struct semaphore ctrlr_sem;