projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
555beda
)
rk29fb:fix the cast bug in WIN1 DYNAMIC CLOSE
author
yzq
<yzq@rock-chips.com>
Wed, 28 Sep 2011 08:35:11 +0000
(16:35 +0800)
committer
yzq
<yzq@rock-chips.com>
Wed, 28 Sep 2011 08:35:11 +0000
(16:35 +0800)
drivers/video/rk29_fb.c
patch
|
blob
|
history
diff --git
a/drivers/video/rk29_fb.c
b/drivers/video/rk29_fb.c
index 4643315094056e59efea439992cb2b1272e1b39c..918197cbfdc6d16336c1f707115011170176e733 100755
(executable)
--- a/
drivers/video/rk29_fb.c
+++ b/
drivers/video/rk29_fb.c
@@
-1238,7
+1238,7
@@
static void win1_check_work_func(struct work_struct *work)
}
break;
}
- p = (
int*
)fb0_inf->screen_base + offset;
+ p = (
u32
)fb0_inf->screen_base + offset;
blank_data = (inf->fb0_color_deepth==32) ? 0xff000000 : 0;
total_data = fb0_inf->var.xres * fb0_inf->var.yres / (format+1);