pxafb: introduce "struct pxafb_dma_buff" for palette and dma descriptors
authoreric miao <eric.miao@marvell.com>
Wed, 30 Apr 2008 07:52:21 +0000 (00:52 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 30 Apr 2008 15:29:31 +0000 (08:29 -0700)
commit2c42dd8ebdd92ad59d9a68f88f0e20ad9f45270a
tree1013b04a3543aa1f1e1c9a2472ba15eb2e8f0cd9
parentce4fb7b892a6d6c6a0f87366b26fd834d2923dd7
pxafb: introduce "struct pxafb_dma_buff" for palette and dma descriptors

Use structure and array for palette buffer and dma descriptors to:

1. better organize code for future expansion like overlays
2. separate palette and dma descriptors from frame buffer

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>
drivers/video/pxafb.c
drivers/video/pxafb.h