xref: /linux/arch/sh/include/mach-kfr2r09/mach/kfr2r09.h (revision b24413180f5600bcb3bb70fbed5cf186b60864bd)
1*b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */
29f26e659SMagnus Damm #ifndef __ASM_SH_KFR2R09_H
39f26e659SMagnus Damm #define __ASM_SH_KFR2R09_H
49f26e659SMagnus Damm 
59f26e659SMagnus Damm #include <video/sh_mobile_lcdc.h>
69f26e659SMagnus Damm 
7c2439398SGuennadi Liakhovetski #if defined(CONFIG_FB_SH_MOBILE_LCDC) || defined(CONFIG_FB_SH_MOBILE_LCDC_MODULE)
8018882aaSLaurent Pinchart int kfr2r09_lcd_setup(void *sys_ops_handle,
99f26e659SMagnus Damm 		      struct sh_mobile_lcdc_sys_bus_ops *sys_ops);
10018882aaSLaurent Pinchart void kfr2r09_lcd_start(void *sys_ops_handle,
11657bf0bdSMagnus Damm 		       struct sh_mobile_lcdc_sys_bus_ops *sys_ops);
129f26e659SMagnus Damm #else
13018882aaSLaurent Pinchart static int kfr2r09_lcd_setup(void *sys_ops_handle,
149f26e659SMagnus Damm 				struct sh_mobile_lcdc_sys_bus_ops *sys_ops)
159f26e659SMagnus Damm {
169f26e659SMagnus Damm 	return -ENODEV;
179f26e659SMagnus Damm }
18018882aaSLaurent Pinchart static void kfr2r09_lcd_start(void *sys_ops_handle,
19657bf0bdSMagnus Damm 				struct sh_mobile_lcdc_sys_bus_ops *sys_ops)
20657bf0bdSMagnus Damm {
21657bf0bdSMagnus Damm }
229f26e659SMagnus Damm #endif
239f26e659SMagnus Damm 
249f26e659SMagnus Damm #endif /* __ASM_SH_KFR2R09_H */
25