> The OF_IOMMU code relies on OF address parsing helpers, but the > dependency on OF_ADDRESS is not expressed in Kconfig. As a result, > of_iommu.c contains CONFIG_OF_ADDRESS guards and a __maybe_unused > annotation to handle configurations where OF_ADDRESS is disabled. > > Make OF_IOMMU depend on OF_ADDRESS and remove the now unnecessary > preprocessor guards and __maybe_unused annotation. > > The only architecture supporting OF without OF_ADDRESS is SPARC, which > does not use OF_IOMMU, so no functional change is intended. > > Suggested-by: Rob Herring <[email protected]> > Co-developed-by: Vishnu Reddy <[email protected]> > Signed-off-by: Vishnu Reddy <[email protected]> > Signed-off-by: Vikash Garodia <[email protected]>
Sashiko has reviewed this patch and found no issues. -- Sashiko AI review ยท https://sashiko.dev/#/patchset/[email protected]?part=3
