xref: /linux/arch/sh/include/mach-kfr2r09/mach/kfr2r09.h (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __ASM_SH_KFR2R09_H
3 #define __ASM_SH_KFR2R09_H
4 
5 #include <video/sh_mobile_lcdc.h>
6 
7 #if defined(CONFIG_FB_SH_MOBILE_LCDC) || defined(CONFIG_FB_SH_MOBILE_LCDC_MODULE)
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_setup(void *sys_ops_handle,
14 				struct sh_mobile_lcdc_sys_bus_ops *sys_ops)
15 {
16 	return -ENODEV;
17 }
18 static void kfr2r09_lcd_start(void *sys_ops_handle,
19 				struct sh_mobile_lcdc_sys_bus_ops *sys_ops)
20 {
21 }
22 #endif
23 
24 #endif /* __ASM_SH_KFR2R09_H */
25