xref: /kernel/linux/linux-6.6/arch/sh/include/mach-kfr2r09/mach/kfr2r09.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-6.6/arch/sh/include/mach-kfr2r09/mach/
162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci#ifndef __ASM_SH_KFR2R09_H
362306a36Sopenharmony_ci#define __ASM_SH_KFR2R09_H
462306a36Sopenharmony_ci
562306a36Sopenharmony_ci#include <video/sh_mobile_lcdc.h>
662306a36Sopenharmony_ci
762306a36Sopenharmony_ci#if defined(CONFIG_FB_SH_MOBILE_LCDC) || defined(CONFIG_FB_SH_MOBILE_LCDC_MODULE)
862306a36Sopenharmony_ciint kfr2r09_lcd_setup(void *sys_ops_handle,
962306a36Sopenharmony_ci		      struct sh_mobile_lcdc_sys_bus_ops *sys_ops);
1062306a36Sopenharmony_civoid kfr2r09_lcd_start(void *sys_ops_handle,
1162306a36Sopenharmony_ci		       struct sh_mobile_lcdc_sys_bus_ops *sys_ops);
1262306a36Sopenharmony_ci#else
1362306a36Sopenharmony_cistatic int kfr2r09_lcd_setup(void *sys_ops_handle,
1462306a36Sopenharmony_ci				struct sh_mobile_lcdc_sys_bus_ops *sys_ops)
1562306a36Sopenharmony_ci{
1662306a36Sopenharmony_ci	return -ENODEV;
1762306a36Sopenharmony_ci}
1862306a36Sopenharmony_cistatic void kfr2r09_lcd_start(void *sys_ops_handle,
1962306a36Sopenharmony_ci				struct sh_mobile_lcdc_sys_bus_ops *sys_ops)
2062306a36Sopenharmony_ci{
2162306a36Sopenharmony_ci}
2262306a36Sopenharmony_ci#endif
2362306a36Sopenharmony_ci
2462306a36Sopenharmony_ci#endif /* __ASM_SH_KFR2R09_H */
25

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