Skip to content

Commit 405820e

Browse files
robherringConchuOD
authored andcommitted
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>
1 parent ec5b0f1 commit 405820e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/firmware/microchip/mpfs-auto-update.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#include <linux/math.h>
1515
#include <linux/module.h>
1616
#include <linux/mtd/mtd.h>
17-
#include <linux/of_device.h>
17+
#include <linux/platform_device.h>
1818
#include <linux/sizes.h>
1919

2020
#include <soc/microchip/mpfs.h>

0 commit comments

Comments
 (0)