kfr2r09.h 638 B

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