Skip to content

Commit 86cdae1

Browse files
committed
ipmi: Explicitly include correct DT includes
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. As a result, there's a pretty much random mix of those include files used throughout the tree. In order to detangle these headers and replace the implicit includes with struct declarations, users need to explicitly include the correct includes. Link: https://lore.kernel.org/r/20230728134819.3224045-1-robh@kernel.org Signed-off-by: Rob Herring <robh@kernel.org>
1 parent ae36453 commit 86cdae1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/char/ipmi/kcs_bmc_aspeed.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
#include <linux/module.h>
1515
#include <linux/of.h>
1616
#include <linux/of_address.h>
17-
#include <linux/of_device.h>
1817
#include <linux/platform_device.h>
1918
#include <linux/poll.h>
2019
#include <linux/regmap.h>

0 commit comments

Comments
 (0)