summaryrefslogtreecommitdiff
path: root/drivers/devfreq/mtk-cci-devfreq.c
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2023-07-14 20:44:25 +0300
committerChanwoo Choi <cw00.choi@samsung.com>2023-07-23 23:19:26 +0300
commit9027f2e79788ddee716674ad9af3cdc076de18cc (patch)
treebb08447128321e904d5b96c49394e4ccb090cd49 /drivers/devfreq/mtk-cci-devfreq.c
parentfdf0eaf11452d72945af31804e2a1048ee1b574c (diff)
downloadlinux-9027f2e79788ddee716674ad9af3cdc076de18cc.tar.xz
PM / devfreq: Explicitly include correct DT 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. They also include platform_device.h and of.h. As a result, there's a pretty much random mix of those include files used throughout the tree. In order to detangle these headers and replace the implicit includes with struct declarations, users need to explicitly include the correct includes. Signed-off-by: Rob Herring <robh@kernel.org> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'drivers/devfreq/mtk-cci-devfreq.c')
-rw-r--r--drivers/devfreq/mtk-cci-devfreq.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/devfreq/mtk-cci-devfreq.c b/drivers/devfreq/mtk-cci-devfreq.c
index 6354622eda65..83a73f0ccd80 100644
--- a/drivers/devfreq/mtk-cci-devfreq.c
+++ b/drivers/devfreq/mtk-cci-devfreq.c
@@ -8,7 +8,6 @@
#include <linux/minmax.h>
#include <linux/module.h>
#include <linux/of.h>
-#include <linux/of_device.h>
#include <linux/platform_device.h>
#include <linux/pm_opp.h>
#include <linux/regulator/consumer.h>