Linux 4.16.11
[linux/fpc-iii.git] / drivers / video / fbdev / amba-clcd-nomadik.h
blob462c31381fa13b2a586b0c396ef7e52429b36d9a
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _AMBA_CLCD_NOMADIK_H
3 #define _AMBA_CLCD_NOMADIK_H
5 #include <linux/amba/bus.h>
7 #ifdef CONFIG_ARCH_NOMADIK
8 int nomadik_clcd_init_board(struct amba_device *adev,
9 struct clcd_board *board);
10 int nomadik_clcd_init_panel(struct clcd_fb *fb, struct device_node *panel);
11 #else
12 static inline int nomadik_clcd_init_board(struct amba_device *adev,
13 struct clcd_board *board)
15 return 0;
17 static inline int nomadik_clcd_init_panel(struct clcd_fb *fb,
18 struct device_node *panel)
20 return 0;
22 #endif
24 #endif /* inclusion guard */