]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI/IORT: Fix build regression without IOMMU
authorArnd Bergmann <arnd@arndb.de>
Thu, 10 Aug 2017 16:45:22 +0000 (17:45 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 10 Aug 2017 17:16:01 +0000 (18:16 +0100)
commit4637b632a08572e5b5151a5b40f48e7970e72ae6
tree447214c7ec97ba475722264df24a11dfa4381e53
parent560b3d8ef93c4f8c43086668bbc8000352d7e444
ACPI/IORT: Fix build regression without IOMMU

A recent change reintroduced a bug that had previously been
fixed by commit 3f2ffbbf52cb ("ACPI/IORT: Fix CONFIG_IOMMU_API
dependency"):

drivers/acpi/arm64/iort.c: In function 'iort_iommu_configure':
drivers/acpi/arm64/iort.c:829:26: error: 'struct iommu_fwspec' has no member named 'ops'

Replace a direct reference to iommu_fwspec->ops with a helper function
call to fix the issue.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
drivers/acpi/arm64/iort.c