diff mbox series

riscv: dts: fu540-c000: fix duplicated dma compatible

Message ID 20220421065401.9303-1-krzysztof.kozlowski@linaro.org (mailing list archive)
State New, archived
Headers show
Series riscv: dts: fu540-c000: fix duplicated dma compatible | expand

Commit Message

Krzysztof Kozlowski April 21, 2022, 6:54 a.m. UTC
Remove duplicated compatible to fix error:

  u540-c000.dtsi:171.4-42: ERROR (duplicate_property_names): /soc/dma@3000000:compatible: Duplicate property name

Fixes: 7eba954a8de8 ("riscv: dts: Add dma-channels property and modify compatible")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 arch/riscv/boot/dts/sifive/fu540-c000.dtsi | 1 -
 1 file changed, 1 deletion(-)

Comments

Bin Meng April 21, 2022, 7:46 a.m. UTC | #1
On Thu, Apr 21, 2022 at 2:54 PM Krzysztof Kozlowski
<krzysztof.kozlowski@linaro.org> wrote:
>
> Remove duplicated compatible to fix error:
>
>   u540-c000.dtsi:171.4-42: ERROR (duplicate_property_names): /soc/dma@3000000:compatible: Duplicate property name
>
> Fixes: 7eba954a8de8 ("riscv: dts: Add dma-channels property and modify compatible")
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
>  arch/riscv/boot/dts/sifive/fu540-c000.dtsi | 1 -
>  1 file changed, 1 deletion(-)
>

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Krzysztof Kozlowski April 26, 2022, 7:53 a.m. UTC | #2
On 21/04/2022 08:54, Krzysztof Kozlowski wrote:
> Remove duplicated compatible to fix error:
> 
>   u540-c000.dtsi:171.4-42: ERROR (duplicate_property_names): /soc/dma@3000000:compatible: Duplicate property name
> 
> Fixes: 7eba954a8de8 ("riscv: dts: Add dma-channels property and modify compatible")
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Hi everyone,

This is an error which causes compilation to fail. Such patches should
be picked up faster than later, because it breaks various builds.

I'll take it via my tree.

Best regards,
Krzysztof
Krzysztof Kozlowski April 26, 2022, 7:55 a.m. UTC | #3
On 26/04/2022 09:53, Krzysztof Kozlowski wrote:
> On 21/04/2022 08:54, Krzysztof Kozlowski wrote:
>> Remove duplicated compatible to fix error:
>>
>>   u540-c000.dtsi:171.4-42: ERROR (duplicate_property_names): /soc/dma@3000000:compatible: Duplicate property name
>>
>> Fixes: 7eba954a8de8 ("riscv: dts: Add dma-channels property and modify compatible")
>> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> 
> Hi everyone,
> 
> This is an error which causes compilation to fail. Such patches should
> be picked up faster than later, because it breaks various builds.
> 
> I'll take it via my tree.

Ah, it seems Palmer rebased his tree after it got accepted to next, so
patch can be dropped.


Best regards,
Krzysztof
diff mbox series

Patch

diff --git a/arch/riscv/boot/dts/sifive/fu540-c000.dtsi b/arch/riscv/boot/dts/sifive/fu540-c000.dtsi
index fa8c18c0e5b0..7ea6300191a5 100644
--- a/arch/riscv/boot/dts/sifive/fu540-c000.dtsi
+++ b/arch/riscv/boot/dts/sifive/fu540-c000.dtsi
@@ -168,7 +168,6 @@  uart0: serial@10010000 {
 			status = "disabled";
 		};
 		dma: dma@3000000 {
-			compatible = "sifive,fu540-c000-pdma";
 			compatible = "sifive,fu540-c000-pdma", "sifive,pdma0";
 			reg = <0x0 0x3000000 0x0 0x8000>;
 			interrupt-parent = <&plic0>;