diff options
author | Rob Herring <robh@kernel.org> | 2021-10-11 14:12:41 -0500 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2021-10-14 14:35:45 +1100 |
commit | 52a16fd7282463e05ee86071463bf0499a9cedf6 (patch) | |
tree | 4ed42ac4127c01ff4613ebd3cc8b502c80d19c94 /checks.c | |
parent | 37fd700685da9001643d1b1f63ad4332e1148b04 (diff) | |
download | dtc-52a16fd7282463e05ee86071463bf0499a9cedf6.zip dtc-52a16fd7282463e05ee86071463bf0499a9cedf6.tar.gz dtc-52a16fd7282463e05ee86071463bf0499a9cedf6.tar.bz2 |
checks: Make interrupt_provider check dependent on interrupts_extended_is_cell
If '#interrupt-cells' doesn't pass checks, no reason to run interrupt
provider check.
Cc: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Message-Id: <20211011191245.1009682-1-robh@kernel.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'checks.c')
-rw-r--r-- | checks.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1587,7 +1587,7 @@ static void check_interrupt_provider(struct check *c, FAIL(c, dti, node, "Missing #address-cells in interrupt provider"); } -WARNING(interrupt_provider, check_interrupt_provider, NULL); +WARNING(interrupt_provider, check_interrupt_provider, NULL, &interrupts_extended_is_cell); static void check_interrupts_property(struct check *c, struct dt_info *dti, |