linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 1/4] video: fbdev: offb: Include missing linux/platform_device.h
@ 2022-07-08  7:11 Christophe Leroy
  2022-07-08  7:11 ` [PATCH v3 2/4] scsi: cxlflash: Include missing linux/irqdomain.h Christophe Leroy
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Christophe Leroy @ 2022-07-08  7:11 UTC (permalink / raw)
  To: Michael Ellerman, Nicholas Piggin, deller, manoj, mrochs,
	ukrishn, jejb, martin.petersen, tzimmermann
  Cc: linux-fbdev, linux-scsi, linux-kernel, dri-devel, linuxppc-dev

A lot of drivers were getting platform and of headers
indirectly via headers like asm/pci.h or asm/prom.h

Most of them were fixed during 5.19 cycle but a newissue was
introduced by commit 52b1b46c39ae ("of: Create platform devices
for OF framebuffers")

Include missing platform_device.h to allow cleaning asm/pci.h

Cc: Thomas Zimmermann <tzimmermann@suse.de>
Fixes: 52b1b46c39ae ("of: Create platform devices for OF framebuffers")
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Acked-by: Helge Deller <deller@gmx.de>
---
 drivers/video/fbdev/offb.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/video/fbdev/offb.c b/drivers/video/fbdev/offb.c
index b1acb1ebebe9..91001990e351 100644
--- a/drivers/video/fbdev/offb.c
+++ b/drivers/video/fbdev/offb.c
@@ -26,6 +26,7 @@
 #include <linux/init.h>
 #include <linux/ioport.h>
 #include <linux/pci.h>
+#include <linux/platform_device.h>
 #include <asm/io.h>
 
 #ifdef CONFIG_PPC32
-- 
2.36.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-07-29 13:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-08  7:11 [PATCH v3 1/4] video: fbdev: offb: Include missing linux/platform_device.h Christophe Leroy
2022-07-08  7:11 ` [PATCH v3 2/4] scsi: cxlflash: Include missing linux/irqdomain.h Christophe Leroy
2022-07-08  7:11 ` [PATCH v3 3/4] powerpc: Remove asm/prom.h from asm/mpc52xx.h and asm/pci.h Christophe Leroy
2022-07-08 13:23   ` kernel test robot
2022-07-08  7:11 ` [PATCH v3 4/4] powerpc: Finally remove unnecessary headers from asm/prom.h Christophe Leroy
2022-07-29 13:02 ` [PATCH v3 1/4] video: fbdev: offb: Include missing linux/platform_device.h Michael Ellerman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).