pl111_vexpress.h 517 B

1234567891011121314151617181920212223242526272829
  1. // SPDX-License-Identifier: GPL-2.0
  2. struct device;
  3. struct pl111_drm_dev_private;
  4. struct regmap;
  5. #ifdef CONFIG_ARCH_VEXPRESS
  6. int pl111_vexpress_clcd_init(struct device *dev,
  7. struct pl111_drm_dev_private *priv,
  8. struct regmap *map);
  9. int vexpress_muxfpga_init(void);
  10. #else
  11. static inline int pl111_vexpress_clcd_init(struct device *dev,
  12. struct pl111_drm_dev_private *priv,
  13. struct regmap *map)
  14. {
  15. return -ENODEV;
  16. }
  17. static inline int vexpress_muxfpga_init(void)
  18. {
  19. return 0;
  20. }
  21. #endif