Skip to content

Commit

Permalink
tests/kernel/device/boards: Fix compilation error
Browse files Browse the repository at this point in the history
The #power-domain-cells in hifive_unmatched.overlay does not exist,
add #power-domain-cells = <0> to it

Fixed #80503

Signed-off-by: Hongquan Li <[email protected]>
  • Loading branch information
hongquan-prog committed Oct 30, 2024
1 parent 303c7d7 commit 0844bb9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/kernel/device/boards/hifive_unmatched.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -67,16 +67,19 @@
compatible = "fakedomain";
status = "okay";
power-domains = <&fakedomain_2>;
#power-domain-cells = <0>;
};

fakedomain_1: fakedomain_1 {
compatible = "fakedomain";
status = "okay";
#power-domain-cells = <0>;
power-domains = <&fakedomain_0>;
};

fakedomain_2: fakedomain_2 {
compatible = "fakedomain";
status = "okay";
#power-domain-cells = <0>;
};
};

0 comments on commit 0844bb9

Please sign in to comment.