Skip to content

Commit 87e51b7

Browse files
robherringthierryreding
authored andcommitted
pwm: pxa: 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 <[email protected]> Acked-by: Uwe Kleine-König <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
1 parent 896c450 commit 87e51b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/pwm/pwm-pxa.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#include <linux/clk.h>
2525
#include <linux/io.h>
2626
#include <linux/pwm.h>
27-
#include <linux/of_device.h>
27+
#include <linux/of.h>
2828

2929
#include <asm/div64.h>
3030

0 commit comments

Comments
 (0)