From: Adrian Schmutzler Date: Sat, 22 Feb 2020 18:28:17 +0000 (+0100) Subject: ramips: move compatible for Ubiquiti Edgerouter X to DTS file X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1ae6292f75bc7faa525a08a3276540aaad8e11ca;p=oweals%2Fopenwrt.git ramips: move compatible for Ubiquiti Edgerouter X to DTS file So far, the compatible for the Ubiquiti Edgerouter X has been defined in the DTSI file and inherited for the edgerouterx.dts, but overwritten for the edgerouterx-sfp.dts. In contrast, the model was stored in the DTS file in both cases. To resolve this somewhat confusing situation, move the compatible with the device name for edgerouterx to the DTS file as well. Signed-off-by: Adrian Schmutzler --- diff --git a/target/linux/ramips/dts/mt7621_ubiquiti_edgerouterx.dts b/target/linux/ramips/dts/mt7621_ubiquiti_edgerouterx.dts index e78fdcf102..5c1d9ec887 100644 --- a/target/linux/ramips/dts/mt7621_ubiquiti_edgerouterx.dts +++ b/target/linux/ramips/dts/mt7621_ubiquiti_edgerouterx.dts @@ -4,4 +4,5 @@ / { model = "UBNT-ERX"; + compatible = "ubiquiti,edgerouterx", "mediatek,mt7621-soc"; }; diff --git a/target/linux/ramips/dts/mt7621_ubiquiti_edgerouterx.dtsi b/target/linux/ramips/dts/mt7621_ubiquiti_edgerouterx.dtsi index d8b4aa0a07..540ef10e2a 100644 --- a/target/linux/ramips/dts/mt7621_ubiquiti_edgerouterx.dtsi +++ b/target/linux/ramips/dts/mt7621_ubiquiti_edgerouterx.dtsi @@ -4,8 +4,6 @@ #include / { - compatible = "ubiquiti,edgerouterx", "mediatek,mt7621-soc"; - aliases { label-mac-device = ðernet; };