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
13 static int kfr2r09_lcd_set_brightness(int brightness) {}
14 static int kfr2r09_lcd_setup(void *sys_ops_handle,
15 				struct sh_mobile_lcdc_sys_bus_ops *sys_ops)
16 {
17 	return -ENODEV;
18 }
19 static 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