]> git.baikalelectronics.ru Git - kernel.git/commit
drm/mediatek: Remove IOMMU_DMA select
authorArnd Bergmann <arnd@arndb.de>
Wed, 11 May 2016 20:11:07 +0000 (22:11 +0200)
committerThierry Reding <treding@nvidia.com>
Tue, 21 Jun 2016 12:54:32 +0000 (14:54 +0200)
commitfe2b4553dd2dc4cba2c17166e96a58a3e6bcffa0
treec530247c26be6fb0be61984e45fcf026cc3ad7fa
parent17aa8bd9f0cb1c222a889e5f7026348a508f4a52
drm/mediatek: Remove IOMMU_DMA select

We get a harmless build warning when trying to use the mediatek DRM
driver with IOMMU support disabled:

warning: (DRM_MEDIATEK) selects IOMMU_DMA which has unmet direct dependencies (IOMMU_SUPPORT)

However, the IOMMU_DMA symbol is not meant to be used by drivers at all,
and this driver doesn't seem to have a strict dependency on it other
than using the mediatek IOMMU driver that does.

Since we also want to be able to do compile tests with the driver on
other platforms, the IOMMU_DMA symbol should not be selected here.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1462997501-982363-1-git-send-email-arnd@arndb.de
drivers/gpu/drm/mediatek/Kconfig