kfr2r09.h 677 B

123456789101112131415161718192021222324
  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 */