mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 00:43:12 +00:00
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 <[email protected]> Cc: Russell King <[email protected]> Cc: Linus Walleij <[email protected]> Cc: Arnd Bergmann <[email protected]> Signed-off-by: Vladimir Zapolskiy <[email protected]> Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
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 */
|