pxafb: preliminary smart panel interface support (update)

FB_PXA_SMARTPANEL defaults to "n" and removed the cast to void *.

Signed-off-by: Daniel Mack <daniel@caiaq.de>
Acked-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>
This commit is contained in:
Eric Miao 2008-04-30 00:52:27 -07:00 committed by Linus Torvalds
parent 3c42a44910
commit 7f1133cbf2
2 changed files with 2 additions and 2 deletions

View File

@ -1776,7 +1776,7 @@ config FB_PXA
config FB_PXA_SMARTPANEL config FB_PXA_SMARTPANEL
bool "PXA Smartpanel LCD support" bool "PXA Smartpanel LCD support"
default y default n
depends on FB_PXA depends on FB_PXA
config FB_PXA_PARAMETERS config FB_PXA_PARAMETERS

View File

@ -720,7 +720,7 @@ static void setup_smart_timing(struct pxafb_info *fbi,
static int pxafb_smart_thread(void *arg) static int pxafb_smart_thread(void *arg)
{ {
struct pxafb_info *fbi = (struct pxafb_info *) arg; struct pxafb_info *fbi = arg;
struct pxafb_mach_info *inf = fbi->dev->platform_data; struct pxafb_mach_info *inf = fbi->dev->platform_data;
if (!fbi || !inf->smart_update) { if (!fbi || !inf->smart_update) {