kfr2r09.h 743 B

12345678910111213141516171819202122232425
  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_set_brightness(int brightness);
  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_set_brightness(int brightness) {}
  12. static int kfr2r09_lcd_setup(void *sys_ops_handle,
  13. struct sh_mobile_lcdc_sys_bus_ops *sys_ops)
  14. {
  15. return -ENODEV;
  16. }
  17. static void kfr2r09_lcd_start(void *sys_ops_handle,
  18. struct sh_mobile_lcdc_sys_bus_ops *sys_ops)
  19. {
  20. }
  21. #endif
  22. #endif /* __ASM_SH_KFR2R09_H */