Skip to contentSkip to conversation

bus: tegra-gmi: Replace of_platform.h with explicit includes

PATCH New Rob Herring 1 participant 1 message Apr 10, 2023 Tegra architecture support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bus: tegra-gmi: Replace of_platform.h with explicit includes

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.

---
 drivers/bus/tegra-gmi.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/bus/tegra-gmi.c +3 -1
index 662266719682..e3506ef37051 100644
@@ -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>
 
Signature · 1 line
2.39.2