[ARM] pxa: fix overlay being un-necessarily initialized on pxa25x
authorEric Miao <eric.miao@marvell.com>
Thu, 19 Mar 2009 07:24:30 +0000 (15:24 +0800)
committerEric Miao <eric.miao@marvell.com>
Thu, 19 Mar 2009 08:20:39 +0000 (16:20 +0800)
commit782385ae176b304c7105051e1b06c68bc0b4a2ba
tree0b4c4904b347fe4697d3025ea6de0af2a5303e8b
parentc68ffddabcaaa64c6ea681d2944cbda50a8654ea
[ARM] pxa: fix overlay being un-necessarily initialized on pxa25x

pxa25x doesn't support overlay in its LCD controller, this patch adds
pxafb_overlay_supported() functions to check the initialization is
necessary.

Signed-off-by: Eric Miao <eric.miao@marvell.com>
drivers/video/pxafb.c