firmware: microchip: Replace of_device.h with explicit include
authorRob Herring <robh@kernel.org>
Thu, 7 Dec 2023 16:14:30 +0000 (10:14 -0600)
committerConor Dooley <conor.dooley@microchip.com>
Thu, 7 Dec 2023 16:40:35 +0000 (16:40 +0000)
commit405820eae72f1b51a4c46a81adf3c3de320c5688
tree5ec747bf8cc05088c3844203b686b53b5e4e0c8a
parentec5b0f1193ad461e53d083edad8fab0298fe68e3
firmware: microchip: Replace of_device.h with explicit include

The DT of_device.h and of_platform.h date back to the separate
of_platform_bus_type before it was merged into the regular platform bus.
As part of that merge prepping Arm DT support 13 years ago, they
"temporarily" include each other. They also include platform_device.h
and of.h. Soon the implicit includes are going to be removed.

of_device.h isn't needed, but platform_device.h is.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
drivers/firmware/microchip/mpfs-auto-update.c