xref: /kernel/linux/linux-5.10/arch/sh/include/mach-kfr2r09/mach/kfr2r09.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-5.10/arch/sh/include/mach-kfr2r09/mach/
18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
28c2ecf20Sopenharmony_ci#ifndef __ASM_SH_KFR2R09_H
38c2ecf20Sopenharmony_ci#define __ASM_SH_KFR2R09_H
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ci#include <video/sh_mobile_lcdc.h>
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ci#if defined(CONFIG_FB_SH_MOBILE_LCDC) || defined(CONFIG_FB_SH_MOBILE_LCDC_MODULE)
88c2ecf20Sopenharmony_ciint kfr2r09_lcd_setup(void *sys_ops_handle,
98c2ecf20Sopenharmony_ci		      struct sh_mobile_lcdc_sys_bus_ops *sys_ops);
108c2ecf20Sopenharmony_civoid kfr2r09_lcd_start(void *sys_ops_handle,
118c2ecf20Sopenharmony_ci		       struct sh_mobile_lcdc_sys_bus_ops *sys_ops);
128c2ecf20Sopenharmony_ci#else
138c2ecf20Sopenharmony_cistatic int kfr2r09_lcd_setup(void *sys_ops_handle,
148c2ecf20Sopenharmony_ci				struct sh_mobile_lcdc_sys_bus_ops *sys_ops)
158c2ecf20Sopenharmony_ci{
168c2ecf20Sopenharmony_ci	return -ENODEV;
178c2ecf20Sopenharmony_ci}
188c2ecf20Sopenharmony_cistatic void kfr2r09_lcd_start(void *sys_ops_handle,
198c2ecf20Sopenharmony_ci				struct sh_mobile_lcdc_sys_bus_ops *sys_ops)
208c2ecf20Sopenharmony_ci{
218c2ecf20Sopenharmony_ci}
228c2ecf20Sopenharmony_ci#endif
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_ci#endif /* __ASM_SH_KFR2R09_H */
25

Indexes created Thu Nov 07 10:32:03 CST 2024