Re: [PATCH] Fix failure of simpledrm probe when trying to grab FB from the EFI-based Framebuffer
From: Javier Martinez Canillas
Date: Sun Nov 12 2023 - 10:50:43 EST
Javier Martinez Canillas <javierm@xxxxxxxxxx> writes:
[...]
>
> Reported-by: Andrew Worsley <amworsley@xxxxxxxxx>
> Signed-off-by: Javier Martinez Canillas <javierm@xxxxxxxxxx>
> ---
> drivers/of/platform.c | 17 +++++++++++++++--
> 1 file changed, 15 insertions(+), 2 deletions(-)
>
Forgot to include the header file and just pointed out by the robot, so
need the following snippet too:
diff --git a/drivers/of/platform.c b/drivers/of/platform.c
index f235ab55b91e..2894d03f4415 100644
--- a/drivers/of/platform.c
+++ b/drivers/of/platform.c
@@ -20,6 +20,7 @@
#include <linux/of_irq.h>
#include <linux/of_platform.h>
#include <linux/platform_device.h>
+#include <linux/sysfb.h>
--
Best regards,
Javier Martinez Canillas
Core Platforms
Red Hat