Linus Walleij | 2534816 | 2016-06-16 11:36:18 +0200 | [diff] [blame] | 1 | /* |
2 | * Special local versatile callbacks | ||||
3 | */ | ||||
4 | #include <linux/of.h> | ||||
5 | #include <linux/amba/bus.h> | ||||
6 | #include <linux/platform_data/video-clcd-versatile.h> | ||||
7 | |||||
8 | #if defined(CONFIG_PLAT_VERSATILE_CLCD) && defined(CONFIG_OF) | ||||
9 | int versatile_clcd_init_panel(struct clcd_fb *fb, | ||||
10 | struct device_node *endpoint); | ||||
11 | #else | ||||
12 | static inline int versatile_clcd_init_panel(struct clcd_fb *fb, | ||||
13 | struct device_node *endpoint) | ||||
14 | { | ||||
15 | return 0; | ||||
16 | } | ||||
17 | #endif |