iommu/arm-smmu: set MAX_MASTER_STREAMIDS to MAX_PHANDLE_ARGS
authorAndreas Herrmann <andreas.herrmann@calxeda.com>
Thu, 30 Jan 2014 18:18:08 +0000 (18:18 +0000)
committerWill Deacon <will.deacon@arm.com>
Mon, 24 Feb 2014 19:09:43 +0000 (19:09 +0000)
commit636e97b0fb0a063dc89773b13064647f5da632cb
treef6686e795fb979dab2f8f97ac254259ac19f9dbd
parentcfbf8d4857c26a8a307fb7cd258074c9dcd8c691
iommu/arm-smmu: set MAX_MASTER_STREAMIDS to MAX_PHANDLE_ARGS

The DT parsing code that determines stream IDs uses
of_parse_phandle_with_args and thus MAX_MASTER_STREAMIDS
is always bound by MAX_PHANDLE_ARGS.

Signed-off-by: Andreas Herrmann <andreas.herrmann@calxeda.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
drivers/iommu/arm-smmu.c