Commit 7f1133cb authored by Eric Miao's avatar Eric Miao Committed by Linus Torvalds

pxafb: preliminary smart panel interface support (update)

FB_PXA_SMARTPANEL defaults to "n" and removed the cast to void *.
Signed-off-by: default avatarDaniel Mack <daniel@caiaq.de>
Acked-by: default avatarEric Miao <eric.miao@marvell.com>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 3c42a449
...@@ -1776,7 +1776,7 @@ config FB_PXA ...@@ -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
......
...@@ -720,7 +720,7 @@ static void setup_smart_timing(struct pxafb_info *fbi, ...@@ -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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment