xref: /linux/arch/sh/include/mach-kfr2r09/mach/kfr2r09.h (revision c2439398170be9d7af28eb3ab59593369cb303f3)
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 
6*c2439398SGuennadi Liakhovetski #if defined(CONFIG_FB_SH_MOBILE_LCDC) || defined(CONFIG_FB_SH_MOBILE_LCDC_MODULE)
7*c2439398SGuennadi Liakhovetski void kfr2r09_lcd_on(void *board_data, struct fb_info *info);
89f26e659SMagnus Damm void kfr2r09_lcd_off(void *board_data);
99f26e659SMagnus Damm int kfr2r09_lcd_setup(void *board_data, void *sys_ops_handle,
109f26e659SMagnus Damm 		      struct sh_mobile_lcdc_sys_bus_ops *sys_ops);
11657bf0bdSMagnus Damm void kfr2r09_lcd_start(void *board_data, void *sys_ops_handle,
12657bf0bdSMagnus Damm 		       struct sh_mobile_lcdc_sys_bus_ops *sys_ops);
139f26e659SMagnus Damm #else
14*c2439398SGuennadi Liakhovetski static void kfr2r09_lcd_on(void *board_data) {}
15*c2439398SGuennadi Liakhovetski static void kfr2r09_lcd_off(void *board_data) {}
16*c2439398SGuennadi Liakhovetski static int kfr2r09_lcd_setup(void *board_data, void *sys_ops_handle,
179f26e659SMagnus Damm 				struct sh_mobile_lcdc_sys_bus_ops *sys_ops)
189f26e659SMagnus Damm {
199f26e659SMagnus Damm 	return -ENODEV;
209f26e659SMagnus Damm }
21*c2439398SGuennadi Liakhovetski static void kfr2r09_lcd_start(void *board_data, 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