mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 00:41:17 +00:00
29 lines
1.0 KiB
Diff
29 lines
1.0 KiB
Diff
|
From d8d1a9a77863a8c7031ae82a1d461aa78eb72a7b Mon Sep 17 00:00:00 2001
|
||
|
From: Rob Herring <robh@kernel.org>
|
||
|
Date: Mon, 11 Oct 2021 14:12:43 -0500
|
||
|
Subject: [PATCH] checks: Drop interrupt provider '#address-cells' check
|
||
|
|
||
|
'#address-cells' is only needed when parsing 'interrupt-map' properties, so
|
||
|
remove it from the common interrupt-provider test.
|
||
|
|
||
|
Cc: Andre Przywara <andre.przywara@arm.com>
|
||
|
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
|
||
|
Signed-off-by: Rob Herring <robh@kernel.org>
|
||
|
Message-Id: <20211011191245.1009682-3-robh@kernel.org>
|
||
|
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
|
||
|
---
|
||
|
--- a/scripts/dtc/checks.c
|
||
|
+++ b/scripts/dtc/checks.c
|
||
|
@@ -1569,11 +1569,6 @@ static void check_interrupt_provider(str
|
||
|
if (!prop)
|
||
|
FAIL(c, dti, node,
|
||
|
"Missing #interrupt-cells in interrupt provider");
|
||
|
-
|
||
|
- prop = get_property(node, "#address-cells");
|
||
|
- if (!prop)
|
||
|
- FAIL(c, dti, node,
|
||
|
- "Missing #address-cells in interrupt provider");
|
||
|
}
|
||
|
WARNING(interrupt_provider, check_interrupt_provider, NULL);
|
||
|
|