From ccb7efa1fdcc1c290f0bc624f9a83707fe08f6fe Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E9=BB=84=E6=B6=9B?= Date: Thu, 1 Dec 2011 16:50:13 +0800 Subject: [PATCH] video: rk29: add FB_WIMO config --- drivers/video/Kconfig | 4 ++++ drivers/video/rk29_fb.h | 7 +++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index 975175ecb160..ce7ba837987f 100755 --- a/drivers/video/Kconfig +++ b/drivers/video/Kconfig @@ -2118,6 +2118,10 @@ config CLOSE_WIN1_DYNAMIC ---help--- this function can close win1 when video and it have no data in fb0 +config FB_WIMO + bool "WiMo support" + depends on FB_RK29 + config FB_NUC900 bool "NUC900 LCD framebuffer support" depends on FB && ARCH_W90X900 diff --git a/drivers/video/rk29_fb.h b/drivers/video/rk29_fb.h index 07146384cd0c..fc0e0f139ba1 100644 --- a/drivers/video/rk29_fb.h +++ b/drivers/video/rk29_fb.h @@ -370,13 +370,16 @@ #define FB0_IOCTL_STOP_TIMER_FLUSH 0x6001 #define FB0_IOCTL_SET_PANEL 0x6002 -#define FB_WIMO_FLAG -#ifdef FB_WIMO_FLAG +#ifdef CONFIG_FB_WIMO +#define FB_WIMO_FLAG +#endif +#ifdef FB_WIMO_FLAG #define FB0_IOCTL_SET_BUF 0x6017 #define FB0_IOCTL_COPY_CURBUF 0x6018 #define FB0_IOCTL_CLOSE_BUF 0x6019 #endif + #define FB1_IOCTL_GET_PANEL_SIZE 0x5001 #define FB1_IOCTL_SET_YUV_ADDR 0x5002 //#define FB1_TOCTL_SET_MCU_DIR 0x5003 -- 2.34.1