diff options
author | Rob Herring <robh@kernel.org> | 2023-04-11 01:27:35 +0200 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2023-04-21 16:20:56 +0200 |
commit | 1c5e9170ad93d3bd62a7ed8380e60b62c88b90a8 (patch) | |
tree | 2425521276f71bcc4696bfb199fa574a720d7d7b /drivers/bus/tegra-gmi.c | |
parent | hte: Use of_property_present() for testing DT property presence (diff) | |
download | linux-1c5e9170ad93d3bd62a7ed8380e60b62c88b90a8.tar.xz linux-1c5e9170ad93d3bd62a7ed8380e60b62c88b90a8.zip |
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.
Link: https://lore.kernel.org/r/20230410232735.1562296-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'drivers/bus/tegra-gmi.c')
-rw-r--r-- | drivers/bus/tegra-gmi.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/bus/tegra-gmi.c b/drivers/bus/tegra-gmi.c index 662266719682..e3506ef37051 100644 --- a/drivers/bus/tegra-gmi.c +++ b/drivers/bus/tegra-gmi.c @@ -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> |