summaryrefslogtreecommitdiff
path: root/drivers/clk/qcom/camcc-sm8550.c
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2023-10-10 23:57:10 +0300
committerBjorn Andersson <andersson@kernel.org>2023-10-21 18:41:50 +0300
commitbff482ace43eebc5b4394cc9a7c7723f08413f80 (patch)
tree0b6d356019eed367c0f3b57d08a48ada89457a82 /drivers/clk/qcom/camcc-sm8550.c
parent76ca22bd3d95cfb5113206894abbc80de6ceb1fe (diff)
downloadlinux-bff482ace43eebc5b4394cc9a7c7723f08413f80.tar.xz
clk: qcom: Replace of_device.h with explicit 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 and pull in various other headers. In preparation to fix this, adjust the includes for what is actually needed. of_device.h isn't needed, but mod_devicetable.h and platform_device.h were implicitly included by it. Signed-off-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20231010205710.1585232-1-robh@kernel.org Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'drivers/clk/qcom/camcc-sm8550.c')
-rw-r--r--drivers/clk/qcom/camcc-sm8550.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/clk/qcom/camcc-sm8550.c b/drivers/clk/qcom/camcc-sm8550.c
index 2133e768b891..dd51ba4ea757 100644
--- a/drivers/clk/qcom/camcc-sm8550.c
+++ b/drivers/clk/qcom/camcc-sm8550.c
@@ -4,8 +4,9 @@
*/
#include <linux/clk-provider.h>
+#include <linux/mod_devicetable.h>
#include <linux/module.h>
-#include <linux/of_device.h>
+#include <linux/platform_device.h>
#include <linux/pm_runtime.h>
#include <linux/regmap.h>