mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07: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>
17 lines
417 B
C
17 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
|