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 bf9003e..9097500 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