drm: make CONFIG_DRM depend on CONFIG_SHMEM.
authorDave Airlie <airlied@redhat.com>
Thu, 16 Oct 2008 23:29:14 +0000 (09:29 +1000)
committerDave Airlie <airlied@linux.ie>
Fri, 17 Oct 2008 21:10:54 +0000 (07:10 +1000)
This can be removed later when DRM doesn't depend on shmem.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/Kconfig

index bf9003ee7aba0d943cd3b780c7b31f3c66ade98a..9097500de5f466249417c13cb4a4b804679726a5 100644 (file)
@@ -6,7 +6,7 @@
 #
 menuconfig DRM
        tristate "Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)"
-       depends on (AGP || AGP=n) && PCI && !EMULATED_CMPXCHG
+       depends on (AGP || AGP=n) && PCI && !EMULATED_CMPXCHG && SHMEM
        help
          Kernel-level support for the Direct Rendering Infrastructure (DRI)
          introduced in XFree86 4.0. If you say Y here, you need to select