mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-31 08:28:13 +00:00
be7367968f
There is no necessity to pass an endpoint device node to custom panel initialization functions, because a child panel device node should be sufficient, note that the existing init_panel() callback declaration from linux/amba/clcd.h already prompts to use the panel device node here. Cc: Tomi Valkeinen <tomi.valkeinen@ti.com> Cc: Russell King <linux@armlinux.org.uk> Cc: Linus Walleij <linus.walleij@linaro.org> Cc: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Vladimir Zapolskiy <vz@mleia.com> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
16 lines
417 B
C
16 lines
417 B
C
/*
|
|
* Special local versatile callbacks
|
|
*/
|
|
#include <linux/of.h>
|
|
#include <linux/amba/bus.h>
|
|
#include <linux/platform_data/video-clcd-versatile.h>
|
|
|
|
#if defined(CONFIG_PLAT_VERSATILE_CLCD) && defined(CONFIG_OF)
|
|
int versatile_clcd_init_panel(struct clcd_fb *fb, struct device_node *panel);
|
|
#else
|
|
static inline int versatile_clcd_init_panel(struct clcd_fb *fb,
|
|
struct device_node *panel)
|
|
{
|
|
return 0;
|
|
}
|
|
#endif
|