Skip to content

Commit 7ebf243

Browse files
robherringsre
authored andcommitted
hsi: omap_ssi: 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 as 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. Signed-off-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sebastian Reichel <[email protected]>
1 parent 06c2afb commit 7ebf243

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/hsi/controllers/omap_ssi_core.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
#include <linux/debugfs.h>
2626
#include <linux/pinctrl/consumer.h>
2727
#include <linux/pm_runtime.h>
28+
#include <linux/of.h>
2829
#include <linux/of_platform.h>
2930
#include <linux/hsi/hsi.h>
3031
#include <linux/idr.h>

0 commit comments

Comments
 (0)