From 76cb841cb886eef6b3bee341a2266c76578724ad Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 6 May 2024 03:02:30 +0200 Subject: Adding upstream version 4.19.249. Signed-off-by: Daniel Baumann --- drivers/video/fbdev/amba-clcd-versatile.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 drivers/video/fbdev/amba-clcd-versatile.h (limited to 'drivers/video/fbdev/amba-clcd-versatile.h') diff --git a/drivers/video/fbdev/amba-clcd-versatile.h b/drivers/video/fbdev/amba-clcd-versatile.h new file mode 100644 index 000000000..b20baa47e --- /dev/null +++ b/drivers/video/fbdev/amba-clcd-versatile.h @@ -0,0 +1,17 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Special local versatile callbacks + */ +#include +#include +#include + +#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 -- cgit v1.2.3