Skip to content

Commit 527eb67

Browse files
sfrothwellrobherring
authored andcommitted
clk: qcom: gcc-x1e80100: 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. They also include platform_device.h and of.h. of_device.h isn't needed, but mod_devicetable.h and platform_device.h were implicitly included. Signed-off-by: Stephen Rothwell <[email protected]> Reviewed-by: Sibi Sankar <[email protected]> Link: https://lore.kernel.org/r/[email protected] [robh: Redo commit msg] Signed-off-by: Rob Herring <[email protected]>
1 parent ed7dafc commit 527eb67

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/clk/qcom/gcc-x1e80100.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44
*/
55

66
#include <linux/clk-provider.h>
7+
#include <linux/mod_devicetable.h>
78
#include <linux/module.h>
8-
#include <linux/of_device.h>
9+
#include <linux/platform_device.h>
910
#include <linux/regmap.h>
1011

1112
#include <dt-bindings/clock/qcom,x1e80100-gcc.h>

0 commit comments

Comments
 (0)