]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
25348160 LW |
2 | /* |
3 | * Special local versatile callbacks | |
4 | */ | |
5 | #include <linux/of.h> | |
6 | #include <linux/amba/bus.h> | |
7 | #include <linux/platform_data/video-clcd-versatile.h> | |
8 | ||
9 | #if defined(CONFIG_PLAT_VERSATILE_CLCD) && defined(CONFIG_OF) | |
be736796 | 10 | int versatile_clcd_init_panel(struct clcd_fb *fb, struct device_node *panel); |
25348160 LW |
11 | #else |
12 | static inline int versatile_clcd_init_panel(struct clcd_fb *fb, | |
be736796 | 13 | struct device_node *panel) |
25348160 LW |
14 | { |
15 | return 0; | |
16 | } | |
17 | #endif |