summaryrefslogtreecommitdiffstats
path: root/drivers/video/pxafb.h
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2005-09-09 22:10:03 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-09 23:03:40 +0200
commitba44cd2d8abc3271a608b42cdbf55e1e575e2ba5 (patch)
tree7416f8acd8a76e5b7beddda61d03cd2a16b5bd03 /drivers/video/pxafb.h
parent[PATCH] fbdev: Initialize var structure in calc_mode_timings (diff)
downloadlinux-ba44cd2d8abc3271a608b42cdbf55e1e575e2ba5.tar.xz
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;