mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 05:11:48 +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>
24 lines
550 B
C
24 lines
550 B
C
#ifndef _AMBA_CLCD_NOMADIK_H
|
|
#define _AMBA_CLCD_NOMADIK_H
|
|
|
|
#include <linux/amba/bus.h>
|
|
|
|
#ifdef CONFIG_ARCH_NOMADIK
|
|
int nomadik_clcd_init_board(struct amba_device *adev,
|
|
struct clcd_board *board);
|
|
int nomadik_clcd_init_panel(struct clcd_fb *fb, struct device_node *panel);
|
|
#else
|
|
static inline int nomadik_clcd_init_board(struct amba_device *adev,
|
|
struct clcd_board *board)
|
|
{
|
|
return 0;
|
|
}
|
|
static inline int nomadik_clcd_init_panel(struct clcd_fb *fb,
|
|
struct device_node *panel)
|
|
{
|
|
return 0;
|
|
}
|
|
#endif
|
|
|
|
#endif /* inclusion guard */
|