Skip to content

Commit

Permalink
arm64: Directly use #include <dt-binding/...>
Browse files Browse the repository at this point in the history
We have it in the includes path and this will help the transition to the
new device-tree import in sys/contrib
  • Loading branch information
evadot committed Jan 15, 2021
1 parent 19775aa commit c38fe87
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion sys/arm64/nvidia/tegra210/max77620.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ __FBSDID("$FreeBSD$");
#include <dev/ofw/ofw_bus.h>
#include <dev/ofw/ofw_bus_subr.h>

#include <gnu/dts/include/dt-bindings/mfd/max77620.h>
#include <dt-bindings/mfd/max77620.h>

#include "clock_if.h"
#include "regdev_if.h"
Expand Down
2 changes: 1 addition & 1 deletion sys/arm64/nvidia/tegra210/max77620_regulators.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ __FBSDID("$FreeBSD$");
#include <dev/extres/regulator/regulator.h>
#include <dev/gpio/gpiobusvar.h>

#include <gnu/dts/include/dt-bindings/mfd/max77620.h>
#include <dt-bindings/mfd/max77620.h>

#include "max77620.h"

Expand Down
2 changes: 1 addition & 1 deletion sys/arm64/nvidia/tegra210/tegra210_car.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ __FBSDID("$FreeBSD$");
#include <dev/ofw/ofw_bus.h>
#include <dev/ofw/ofw_bus_subr.h>

#include <gnu/dts/include/dt-bindings/clock/tegra210-car.h>
#include <dt-bindings/clock/tegra210-car.h>

#include "clkdev_if.h"
#include "hwreset_if.h"
Expand Down
4 changes: 2 additions & 2 deletions sys/arm64/nvidia/tegra210/tegra210_clk_per.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ __FBSDID("$FreeBSD$");

#include <dev/extres/clk/clk.h>

#include <gnu/dts/include/dt-bindings/clock/tegra210-car.h>
#include <gnu/dts/include/dt-bindings/reset/tegra210-car.h>
#include <dt-bindings/clock/tegra210-car.h>
#include <dt-bindings/reset/tegra210-car.h>

#include "tegra210_car.h"

Expand Down
2 changes: 1 addition & 1 deletion sys/arm64/nvidia/tegra210/tegra210_clk_pll.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ __FBSDID("$FreeBSD$");
#include <dev/extres/clk/clk_gate.h>
#include <dev/extres/clk/clk_mux.h>

#include <gnu/dts/include/dt-bindings/clock/tegra210-car.h>
#include <dt-bindings/clock/tegra210-car.h>
#include "tegra210_car.h"

#if 0
Expand Down
2 changes: 1 addition & 1 deletion sys/arm64/nvidia/tegra210/tegra210_clk_super.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ __FBSDID("$FreeBSD$");

#include <dev/extres/clk/clk.h>

#include <gnu/dts/include/dt-bindings/clock/tegra210-car.h>
#include <dt-bindings/clock/tegra210-car.h>
#include "tegra210_car.h"

struct super_mux_def {
Expand Down
2 changes: 1 addition & 1 deletion sys/arm64/nvidia/tegra210/tegra210_xusbpadctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ __FBSDID("$FreeBSD$");

#include <arm/nvidia/tegra_efuse.h>

#include <gnu/dts/include/dt-bindings/pinctrl/pinctrl-tegra-xusb.h>
#include <dt-bindings/pinctrl/pinctrl-tegra-xusb.h>

#include "phynode_if.h"

Expand Down
2 changes: 1 addition & 1 deletion sys/arm64/rockchip/clk/rk3288_cru.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ __FBSDID("$FreeBSD$");

#include <arm64/rockchip/clk/rk_cru.h>

#include <gnu/dts/include/dt-bindings/clock/rk3288-cru.h>
#include <dt-bindings/clock/rk3288-cru.h>

#define CRU_SOFTRST_SIZE 12

Expand Down

0 comments on commit c38fe87

Please sign in to comment.