amba-clcd-versatile.h 456 B

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