drm: atmel-hlcdc: Add dependency on ARM
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Fri, 23 Jan 2015 20:03:02 +0000 (21:03 +0100)
committerDave Airlie <airlied@gmail.com>
Sat, 31 Jan 2015 00:14:28 +0000 (10:14 +1000)
The atmel-hlcdc driver selects DRM_GEM_CMA_HELPER which makes use of
symbols only available when HAVE_DMA_ATTRS is selected.
Add a dependency on the ARM architecture which select this option.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Dave Airlie <airlied@gmail.com>
drivers/gpu/drm/atmel-hlcdc/Kconfig

index 1a085625538a0e6d6e613f9427141bf36bbe57ac..99b4f0698a3035c08b3d2836a34aa923cbbc6bf8 100644 (file)
@@ -1,6 +1,6 @@
 config DRM_ATMEL_HLCDC
        tristate "DRM Support for ATMEL HLCDC Display Controller"
-       depends on DRM && OF && COMMON_CLK && MFD_ATMEL_HLCDC
+       depends on DRM && OF && COMMON_CLK && MFD_ATMEL_HLCDC && ARM
        select DRM_GEM_CMA_HELPER
        select DRM_KMS_HELPER
        select DRM_KMS_FB_HELPER