bus: tegra-gmi: Replace of_platform.h with explicit includes
authorRob Herring <robh@kernel.org>
Mon, 10 Apr 2023 23:27:35 +0000 (18:27 -0500)
committerRob Herring <robh@kernel.org>
Fri, 21 Apr 2023 14:20:56 +0000 (09:20 -0500)
Tegra-gmi doesn't use anything from of_platform.h, but depends on
of.h, of_device.h, and platform_device.h which are all implicitly
included, but that is going to be removed soon.

Link: https://lore.kernel.org/r/20230410232735.1562296-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/bus/tegra-gmi.c

index 6622667196821dde1f3302f7d8f608150c14755d..e3506ef37051fd5b3f7ddb99a90906e5c9f8daa5 100644 (file)
@@ -9,7 +9,9 @@
 #include <linux/delay.h>
 #include <linux/io.h>
 #include <linux/module.h>
-#include <linux/of_device.h>
+#include <linux/of.h>
+#include <linux/of_platform.h>
+#include <linux/platform_device.h>
 #include <linux/pm_runtime.h>
 #include <linux/reset.h>