amba-clcd-versatile.h 427 B

1234567891011121314151617
  1. /*
  2. * Special local versatile callbacks
  3. */
  4. #include <linux/of.h>
  5. #include <linux/amba/bus.h>
  6. #include <linux/platform_data/video-clcd-versatile.h>
  7. #if defined(CONFIG_PLAT_VERSATILE_CLCD) && defined(CONFIG_OF)
  8. int versatile_clcd_init_panel(struct clcd_fb *fb,
  9. struct device_node *endpoint);
  10. #else
  11. static inline int versatile_clcd_init_panel(struct clcd_fb *fb,
  12. struct device_node *endpoint)
  13. {
  14. return 0;
  15. }
  16. #endif