video: fbdev: offb: Include missing linux/platform_device.h
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Fri, 8 Jul 2022 07:11:05 +0000 (09:11 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 28 Jul 2022 06:22:12 +0000 (16:22 +1000)
commitebef8abc963b9e537c0a0d619dd8faf1b8f2b183
treefeaf28f78f53fffee7353df731b5055a1e799749
parenta05aae92f84ba6d2705f6dac206ef5dcf097ea96
video: fbdev: offb: Include missing linux/platform_device.h

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

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>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/f75b383673663e27f6b57e50b4abfb9fe3780b00.1657264228.git.christophe.leroy@csgroup.eu
drivers/video/fbdev/offb.c