• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 
pl111_vexpress_clcd_init(struct device * dev,struct pl111_drm_dev_private * priv,struct regmap * map)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 
vexpress_muxfpga_init(void)24 static inline int vexpress_muxfpga_init(void)
25 {
26 	return 0;
27 }
28 
29 #endif
30