b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | |
| 3 | struct device; |
| 4 | struct pl111_drm_dev_private; |
| 5 | struct regmap; |
| 6 | |
| 7 | #ifdef CONFIG_ARCH_VEXPRESS |
| 8 | |
| 9 | int pl111_vexpress_clcd_init(struct device *dev, |
| 10 | struct pl111_drm_dev_private *priv, |
| 11 | struct regmap *map); |
| 12 | |
| 13 | int vexpress_muxfpga_init(void); |
| 14 | |
| 15 | #else |
| 16 | |
| 17 | static inline int pl111_vexpress_clcd_init(struct device *dev, |
| 18 | struct pl111_drm_dev_private *priv, |
| 19 | struct regmap *map) |
| 20 | { |
| 21 | return -ENODEV; |
| 22 | } |
| 23 | |
| 24 | static inline int vexpress_muxfpga_init(void) |
| 25 | { |
| 26 | return 0; |
| 27 | } |
| 28 | |
| 29 | #endif |