rk30 lcdc: display lut support
[firefly-linux-kernel-4.4.55.git] / drivers / video / rk29_fb.h
index 07146384cd0c54ad7c29fc4cbbc9445857459b1e..fc0e0f139ba1f1461543ef1e1b5281171baccdaf 100644 (file)
 
 #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