aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaojian Zhuang <haojian.zhuang@linaro.org>2013-04-26 14:21:40 +0800
committerHaojian Zhuang <haojian.zhuang@linaro.org>2013-04-26 14:21:40 +0800
commitc91122f85ff4f2aa7f6c99668366491a4bcae25b (patch)
tree2940c374b15af8de1cd01d015a20ffe84e50f422
parente57b985c07be14aabf2b4a78526c39bfb728bea6 (diff)
fb: hi3620: add empty blank operation
Add empty blank operation since android will use this interface. The real operation will be added later. Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
-rw-r--r--drivers/video/hisilicon/hi3620_fb.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/video/hisilicon/hi3620_fb.c b/drivers/video/hisilicon/hi3620_fb.c
index abbe1eea295e..981951a98805 100644
--- a/drivers/video/hisilicon/hi3620_fb.c
+++ b/drivers/video/hisilicon/hi3620_fb.c
@@ -410,6 +410,11 @@ static int hi3620fb_pan_display(struct fb_var_screeninfo *var,
return 0;
}
+static int hi3620fb_blank(int blank_mode, struct fb_info *info)
+{
+ return 0;
+}
+
static int hi3620fb_ioctl(struct fb_info *fb, unsigned int cmd,
unsigned long arg)
{
@@ -448,6 +453,7 @@ static struct fb_ops hi3620fb_ops = {
.fb_check_var = hi3620fb_check_var,
.fb_set_par = hi3620fb_set_par,
.fb_pan_display = hi3620fb_pan_display,
+ .fb_blank = hi3620fb_blank,
.fb_ioctl = hi3620fb_ioctl,
.fb_compat_ioctl = hi3620fb_ioctl,
};