1 #ifndef __ASM_SH_KFR2R09_H 2 #define __ASM_SH_KFR2R09_H 3 4 #include <video/sh_mobile_lcdc.h> 5 6 #if defined(CONFIG_FB_SH_MOBILE_LCDC) || defined(CONFIG_FB_SH_MOBILE_LCDC_MODULE) 7 void kfr2r09_lcd_on(void); 8 void kfr2r09_lcd_off(void); 9 int kfr2r09_lcd_setup(void *sys_ops_handle, 10 struct sh_mobile_lcdc_sys_bus_ops *sys_ops); 11 void kfr2r09_lcd_start(void *sys_ops_handle, 12 struct sh_mobile_lcdc_sys_bus_ops *sys_ops); 13 #else kfr2r09_lcd_on(void)14static void kfr2r09_lcd_on(void) {} kfr2r09_lcd_off(void)15static void kfr2r09_lcd_off(void) {} kfr2r09_lcd_setup(void * sys_ops_handle,struct sh_mobile_lcdc_sys_bus_ops * sys_ops)16static int kfr2r09_lcd_setup(void *sys_ops_handle, 17 struct sh_mobile_lcdc_sys_bus_ops *sys_ops) 18 { 19 return -ENODEV; 20 } kfr2r09_lcd_start(void * sys_ops_handle,struct sh_mobile_lcdc_sys_bus_ops * sys_ops)21static void kfr2r09_lcd_start(void *sys_ops_handle, 22 struct sh_mobile_lcdc_sys_bus_ops *sys_ops) 23 { 24 } 25 #endif 26 27 #endif /* __ASM_SH_KFR2R09_H */ 28