pxafb: preliminary smart panel interface support (update)
authorEric Miao <eric.miao@marvell.com>
Wed, 30 Apr 2008 07:52:27 +0000 (00:52 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 30 Apr 2008 15:29:32 +0000 (08:29 -0700)
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>
drivers/video/Kconfig
drivers/video/pxafb.c

index 20a2bbd14ed701e0aaf639a690a1b581e6ebcd46..bb1dadaa4a23a1054cca3fbd56791d3cf50fcb1d 100644 (file)
@@ -1776,7 +1776,7 @@ config FB_PXA
 
 config FB_PXA_SMARTPANEL
        bool "PXA Smartpanel LCD support"
-       default y
+       default n
        depends on FB_PXA
 
 config FB_PXA_PARAMETERS
index a4d656497e9da19ee633c144a76a0605db698775..3ab6e3d973a1670bef82cc28fa89cf1ba8e46d8f 100644 (file)
@@ -720,7 +720,7 @@ static void setup_smart_timing(struct pxafb_info *fbi,
 
 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;
 
        if (!fbi || !inf->smart_update) {