[PATCH] Fix failure of simpledrm probe when trying to grab FB from the EFI-based Framebuffer
Javier Martinez Canillas
javierm at redhat.com
Sun Nov 12 15:49:48 UTC 2023
Javier Martinez Canillas <javierm at redhat.com> writes:
[...]
>
> Reported-by: Andrew Worsley <amworsley at gmail.com>
> Signed-off-by: Javier Martinez Canillas <javierm at redhat.com>
> ---
> 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
More information about the dri-devel
mailing list