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) |
Vladimir Zapolskiy | be73679 | 2017-01-30 17:39:48 +0100 | [diff] [blame] | 9 | int versatile_clcd_init_panel(struct clcd_fb *fb, struct device_node *panel); |
Linus Walleij | 2534816 | 2016-06-16 11:36:18 +0200 | [diff] [blame] | 10 | #else |
| 11 | static inline int versatile_clcd_init_panel(struct clcd_fb *fb, |
Vladimir Zapolskiy | be73679 | 2017-01-30 17:39:48 +0100 | [diff] [blame] | 12 | struct device_node *panel) |
Linus Walleij | 2534816 | 2016-06-16 11:36:18 +0200 | [diff] [blame] | 13 | { |
| 14 | return 0; |
| 15 | } |
| 16 | #endif |