blob: 4692c309282327f366a7da8aa3db48559dca7ef0 [file] [log] [blame]
Linus Walleij25348162016-06-16 11:36:18 +02001/*
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 Zapolskiybe736792017-01-30 17:39:48 +01009int versatile_clcd_init_panel(struct clcd_fb *fb, struct device_node *panel);
Linus Walleij25348162016-06-16 11:36:18 +020010#else
11static inline int versatile_clcd_init_panel(struct clcd_fb *fb,
Vladimir Zapolskiybe736792017-01-30 17:39:48 +010012 struct device_node *panel)
Linus Walleij25348162016-06-16 11:36:18 +020013{
14 return 0;
15}
16#endif