summaryrefslogtreecommitdiff
path: root/drivers/bus
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2023-04-11 02:27:26 +0300
committerSudeep Holla <sudeep.holla@arm.com>2023-04-13 11:34:01 +0300
commit04ebdc354895e1609ac133b40f8e8d2e0f16e450 (patch)
treea83c432575180da295b5b9b27885b1aeb9a87390 /drivers/bus
parentfe15c26ee26efa11741a7b632e9f23b01aca4cc6 (diff)
downloadlinux-04ebdc354895e1609ac133b40f8e8d2e0f16e450.tar.xz
bus: vexpress-config: Add explicit of_platform.h include
vexpress-config uses of_platform_* functions which are declared in of_platform.h. of_platform.h gets implicitly included by of_device.h, but that is going to be removed soon. Nothing else depends on of_device.h so it can be dropped. Signed-off-by: Rob Herring <robh@kernel.org> Acked-by: Liviu Dudau <liviu.dudau@arm.com> Link: https://lore.kernel.org/r/20230410232727.1562115-1-robh@kernel.org Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Diffstat (limited to 'drivers/bus')
-rw-r--r--drivers/bus/vexpress-config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bus/vexpress-config.c b/drivers/bus/vexpress-config.c
index a58ac0c8e282..472a570bd53a 100644
--- a/drivers/bus/vexpress-config.c
+++ b/drivers/bus/vexpress-config.c
@@ -10,7 +10,7 @@
#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>
-#include <linux/of_device.h>
+#include <linux/of_platform.h>
#include <linux/sched/signal.h>
#include <linux/slab.h>
#include <linux/vexpress.h>