Skip to content

Commit

Permalink
ARM: dts: Fix STi boards compatibles
Browse files Browse the repository at this point in the history
The compatible strings have to be ordered from specific to generic.
This patch fixes this for STi boards, which did the exact opposite.

Cc: Olof Johansson <[email protected]>
Acked-by: Lee Jones <[email protected]>
Signed-off-by: Maxime Coquelin <[email protected]>
  • Loading branch information
mcoquelin-stm32 committed May 21, 2014
1 parent 35a4d15 commit 59b26c8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/stih415-b2000.dts
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
#include "stih41x-b2000.dtsi"
/ {
model = "STiH415 B2000 Board";
compatible = "st,stih415", "st,stih415-b2000";
compatible = "st,stih415-b2000", "st,stih415";
};
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/stih415-b2020.dts
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
#include "stih41x-b2020.dtsi"
/ {
model = "STiH415 B2020 Board";
compatible = "st,stih415", "st,stih415-b2020";
compatible = "st,stih415-b2020", "st,stih415";
};
3 changes: 1 addition & 2 deletions arch/arm/boot/dts/stih416-b2000.dts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
/dts-v1/;
#include "stih416.dtsi"
#include "stih41x-b2000.dtsi"

/ {
compatible = "st,stih416", "st,stih416-b2000";
model = "STiH416 B2000";
compatible = "st,stih416-b2000", "st,stih416";
};
3 changes: 1 addition & 2 deletions arch/arm/boot/dts/stih416-b2020.dts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,5 @@
#include "stih41x-b2020.dtsi"
/ {
model = "STiH416 B2020";
compatible = "st,stih416", "st,stih416-b2020";

compatible = "st,stih416-b2020", "st,stih416";
};

0 comments on commit 59b26c8

Please sign in to comment.