PageRenderTime 26ms CodeModel.GetById 20ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/arch/sh/include/mach-kfr2r09/mach/kfr2r09.h

http://github.com/mirrors/linux
C Header | 24 lines | 20 code | 3 blank | 1 comment | 1 complexity | b4372bc3b1c493186ffd19f586b1427e MD5 | raw file
 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)
 8int kfr2r09_lcd_setup(void *sys_ops_handle,
 9		      struct sh_mobile_lcdc_sys_bus_ops *sys_ops);
10void kfr2r09_lcd_start(void *sys_ops_handle,
11		       struct sh_mobile_lcdc_sys_bus_ops *sys_ops);
12#else
13static int kfr2r09_lcd_setup(void *sys_ops_handle,
14				struct sh_mobile_lcdc_sys_bus_ops *sys_ops)
15{
16	return -ENODEV;
17}
18static 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 */