blob: 1b14359c2cf6b3fc0865cb6510651a9cd9a4d9a4 [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)
9int versatile_clcd_init_panel(struct clcd_fb *fb,
10 struct device_node *endpoint);
11#else
12static inline int versatile_clcd_init_panel(struct clcd_fb *fb,
13 struct device_node *endpoint)
14{
15 return 0;
16}
17#endif