diff options
author | Eric Miao <eric.miao@marvell.com> | 2008-04-30 03:52:25 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-30 11:29:32 -0400 |
commit | 90eabbf0ec0c626cf5d186214cf8fc79150a7a29 (patch) | |
tree | a17d471960d783f046faf13f56db5794f419cfd3 /drivers/video/pxafb.h | |
parent | 2ba162b9335c6e3ba90c77637372fc9f078aae67 (diff) |
pxafb: move parallel LCD timing setup into dedicate function
the new_regs stuff has been removed, and all the setup (modification to those
fbi->reg_*) is protected with IRQ disabled
* disable IRQ is too heavy here, provided that no IRQ context will
touch the fbi->reg_* and the only possible contending place is
in the CPUFREQ_POSTCHANGE (task context), a mutex will be better,
leave this for future improvement
Signed-off-by: eric miao <eric.miao@marvell.com>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/pxafb.h')
-rw-r--r-- | drivers/video/pxafb.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/video/pxafb.h b/drivers/video/pxafb.h index f47f139fc5ed..c627b83497da 100644 --- a/drivers/video/pxafb.h +++ b/drivers/video/pxafb.h | |||
@@ -21,14 +21,6 @@ | |||
21 | * for more details. | 21 | * for more details. |
22 | */ | 22 | */ |
23 | 23 | ||
24 | /* Shadows for LCD controller registers */ | ||
25 | struct pxafb_lcd_reg { | ||
26 | unsigned int lccr0; | ||
27 | unsigned int lccr1; | ||
28 | unsigned int lccr2; | ||
29 | unsigned int lccr3; | ||
30 | }; | ||
31 | |||
32 | /* PXA LCD DMA descriptor */ | 24 | /* PXA LCD DMA descriptor */ |
33 | struct pxafb_dma_descriptor { | 25 | struct pxafb_dma_descriptor { |
34 | unsigned int fdadr; | 26 | unsigned int fdadr; |