iommu/dart: APPLE_DART should depend on ARCH_APPLE
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 10 Aug 2021 13:47:19 +0000 (15:47 +0200)
committerJoerg Roedel <jroedel@suse.de>
Thu, 12 Aug 2021 11:23:19 +0000 (13:23 +0200)
commitfaf8e7539643ed958174ad3dfeb43c179a9c4397
tree1426fcbb9fe0cc3b0fbed87d8cbe7ca6c60d0aac
parent46d1fb072e76b161b0fb1ada9e37bf7e4d1f123f
iommu/dart: APPLE_DART should depend on ARCH_APPLE

The Apple DART (Device Address Resolution Table) IOMMU is only present
on Apple ARM SoCs like the M1.  Hence add a dependency on ARCH_APPLE, to
prevent asking the user about this driver when configuring a kernel
without support for the Apple Silicon SoC family.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Sven Peter <sven@svenpeter.dev>
Link: https://lore.kernel.org/r/44fcf525273b32c9afcd7e99acbd346d47f0e047.1628603162.git.geert+renesas@glider.be
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/Kconfig