]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
1d3f0cbe LW |
2 | #ifndef _AMBA_CLCD_NOMADIK_H |
3 | #define _AMBA_CLCD_NOMADIK_H | |
4 | ||
5 | #include <linux/amba/bus.h> | |
6 | ||
7 | #ifdef CONFIG_ARCH_NOMADIK | |
8 | int nomadik_clcd_init_board(struct amba_device *adev, | |
9 | struct clcd_board *board); | |
be736796 | 10 | int nomadik_clcd_init_panel(struct clcd_fb *fb, struct device_node *panel); |
1d3f0cbe LW |
11 | #else |
12 | static inline int nomadik_clcd_init_board(struct amba_device *adev, | |
13 | struct clcd_board *board) | |
14 | { | |
15 | return 0; | |
16 | } | |
17 | static inline int nomadik_clcd_init_panel(struct clcd_fb *fb, | |
be736796 | 18 | struct device_node *panel) |
1d3f0cbe LW |
19 | { |
20 | return 0; | |
21 | } | |
22 | #endif | |
23 | ||
24 | #endif /* inclusion guard */ |