summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/pl111/pl111_vexpress.h
blob: 5d3681bb4c002395dc5ee8c5736099fe97824536 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// SPDX-License-Identifier: GPL-2.0

struct device;
struct pl111_drm_dev_private;
struct regmap;

#ifdef CONFIG_ARCH_VEXPRESS

int pl111_vexpress_clcd_init(struct device *dev,
			     struct pl111_drm_dev_private *priv,
			     struct regmap *map);

int vexpress_muxfpga_init(void);

#else

static inline int pl111_vexpress_clcd_init(struct device *dev,
					   struct pl111_drm_dev_private *priv,
					   struct regmap *map)
{
	return -ENODEV;
}

static inline int vexpress_muxfpga_init(void)
{
	return 0;
}

#endif