Commit 007662f7 authored by Rob Herring's avatar Rob Herring Committed by Greg Kroah-Hartman
Browse files

of: address: Store number of bus flag cells rather than bool



[ Upstream commit 88696db0 ]

It is more useful to know how many flags cells a bus has rather than
whether a bus has flags or not as ultimately the number of cells is the
information used. Replace 'has_flags' boolean with 'flag_cells' count.

Acked-by: default avatarHerve Codina <herve.codina@bootlin.com>
Link: https://lore.kernel.org/r/20231026135358.3564307-2-robh@kernel.org


Signed-off-by: default avatarRob Herring <robh@kernel.org>
Stable-dep-of: 7f05e20b ("of: address: Preserve the flags portion on 1:1 dma-ranges mapping")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 7eb954ec
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment