xref: /linux/arch/sh/include/mach-kfr2r09/mach/kfr2r09.h (revision 018882aa66f5110478edc14e6c3fecc2b46ca0c0)
19f26e659SMagnus Damm #ifndef __ASM_SH_KFR2R09_H
29f26e659SMagnus Damm #define __ASM_SH_KFR2R09_H
39f26e659SMagnus Damm 
49f26e659SMagnus Damm #include <video/sh_mobile_lcdc.h>
59f26e659SMagnus Damm 
6c2439398SGuennadi Liakhovetski #if defined(CONFIG_FB_SH_MOBILE_LCDC) || defined(CONFIG_FB_SH_MOBILE_LCDC_MODULE)
7*018882aaSLaurent Pinchart void kfr2r09_lcd_on(void);
8*018882aaSLaurent Pinchart void kfr2r09_lcd_off(void);
9*018882aaSLaurent Pinchart int kfr2r09_lcd_setup(void *sys_ops_handle,
109f26e659SMagnus Damm 		      struct sh_mobile_lcdc_sys_bus_ops *sys_ops);
11*018882aaSLaurent Pinchart void kfr2r09_lcd_start(void *sys_ops_handle,
12657bf0bdSMagnus Damm 		       struct sh_mobile_lcdc_sys_bus_ops *sys_ops);
139f26e659SMagnus Damm #else
14*018882aaSLaurent Pinchart static void kfr2r09_lcd_on(void) {}
15*018882aaSLaurent Pinchart static void kfr2r09_lcd_off(void) {}
16*018882aaSLaurent Pinchart static int kfr2r09_lcd_setup(void *sys_ops_handle,
179f26e659SMagnus Damm 				struct sh_mobile_lcdc_sys_bus_ops *sys_ops)
189f26e659SMagnus Damm {
199f26e659SMagnus Damm 	return -ENODEV;
209f26e659SMagnus Damm }
21*018882aaSLaurent Pinchart static void kfr2r09_lcd_start(void *sys_ops_handle,
22657bf0bdSMagnus Damm 				struct sh_mobile_lcdc_sys_bus_ops *sys_ops)
23657bf0bdSMagnus Damm {
24657bf0bdSMagnus Damm }
259f26e659SMagnus Damm #endif
269f26e659SMagnus Damm 
279f26e659SMagnus Damm #endif /* __ASM_SH_KFR2R09_H */
28