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 int kfr2r09_lcd_set_brightness(int brightness); 8 int kfr2r09_lcd_setup(void *sys_ops_handle, 9 struct sh_mobile_lcdc_sys_bus_ops *sys_ops); 10 void kfr2r09_lcd_start(void *sys_ops_handle, 11 struct sh_mobile_lcdc_sys_bus_ops *sys_ops); 12 #else kfr2r09_lcd_set_brightness(int brightness)13static int kfr2r09_lcd_set_brightness(int brightness) {} kfr2r09_lcd_setup(void * sys_ops_handle,struct sh_mobile_lcdc_sys_bus_ops * sys_ops)14static int kfr2r09_lcd_setup(void *sys_ops_handle, 15 struct sh_mobile_lcdc_sys_bus_ops *sys_ops) 16 { 17 return -ENODEV; 18 } kfr2r09_lcd_start(void * sys_ops_handle,struct sh_mobile_lcdc_sys_bus_ops * sys_ops)19static void kfr2r09_lcd_start(void *sys_ops_handle, 20 struct sh_mobile_lcdc_sys_bus_ops *sys_ops) 21 { 22 } 23 #endif 24 25 #endif /* __ASM_SH_KFR2R09_H */ 26