/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. #include <video/sh_mobile_lcdc.h>
  5. #if defined(CONFIG_FB_SH_MOBILE_LCDC) || defined(CONFIG_FB_SH_MOBILE_LCDC_MODULE)
  6. int kfr2r09_lcd_setup(void *sys_ops_handle,
  7. struct sh_mobile_lcdc_sys_bus_ops *sys_ops);
  8. void kfr2r09_lcd_start(void *sys_ops_handle,
  9. struct sh_mobile_lcdc_sys_bus_ops *sys_ops);
  10. #else
  11. static int kfr2r09_lcd_setup(void *sys_ops_handle,
  12. struct sh_mobile_lcdc_sys_bus_ops *sys_ops)
  13. {
  14. return -ENODEV;
  15. }
  16. static void kfr2r09_lcd_start(void *sys_ops_handle,
  17. struct sh_mobile_lcdc_sys_bus_ops *sys_ops)
  18. {
  19. }
  20. #endif
  21. #endif /* __ASM_SH_KFR2R09_H */