drm/radeon/kms: remove the _DRM_DRIVER from the KMS paths.
authorDave Airlie <airlied@linux.ie>
Wed, 17 Jun 2009 07:21:13 +0000 (17:21 +1000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 17 Jun 2009 16:45:46 +0000 (09:45 -0700)
This causes an issue since we fixed the drm mappings to do the right thing,
so its just a copy and pasto.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/gpu/drm/radeon/radeon_kms.c

index b0ce44b9f5ab8eb5109d5c93f09c262c8899a62b..64f42b19cbfac5761681686029441aa9e37fdf95 100644 (file)
@@ -176,7 +176,7 @@ int radeon_master_create_kms(struct drm_device *dev, struct drm_master *master)
        /* prebuild the SAREA */
        sareapage = max_t(unsigned long, SAREA_MAX, PAGE_SIZE);
        ret = drm_addmap(dev, 0, sareapage, _DRM_SHM,
-                        _DRM_CONTAINS_LOCK|_DRM_DRIVER,
+                        _DRM_CONTAINS_LOCK,
                         &master_priv->sarea);
        if (ret) {
                DRM_ERROR("SAREA setup failed\n");