diff options
author | Rob Herring <robh@kernel.org> | 2023-07-14 11:48:50 -0600 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2023-07-24 13:28:05 +0200 |
commit | 0a41b0c5d97a3758ad102cec469aaa79c7d406b7 (patch) | |
tree | 150a4972db33f1297960cab0f75567a75dac020e /drivers/pwm/pwm-jz4740.c | |
parent | 16636297f5440117e8aa16cdd1f54b5874f6a3a9 (diff) | |
download | linux-stable-0a41b0c5d97a3758ad102cec469aaa79c7d406b7.tar.gz linux-stable-0a41b0c5d97a3758ad102cec469aaa79c7d406b7.tar.bz2 linux-stable-0a41b0c5d97a3758ad102cec469aaa79c7d406b7.zip |
pwm: 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>
Reviewed-by: Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Tzung-Bi Shih <tzungbi@kernel.org>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm/pwm-jz4740.c')
-rw-r--r-- | drivers/pwm/pwm-jz4740.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pwm/pwm-jz4740.c b/drivers/pwm/pwm-jz4740.c index 3b7067f6cd0d..ef1293f2a897 100644 --- a/drivers/pwm/pwm-jz4740.c +++ b/drivers/pwm/pwm-jz4740.c @@ -15,7 +15,7 @@ #include <linux/mfd/ingenic-tcu.h> #include <linux/mfd/syscon.h> #include <linux/module.h> -#include <linux/of_device.h> +#include <linux/of.h> #include <linux/platform_device.h> #include <linux/pwm.h> #include <linux/regmap.h> |