Skip to contentSkip to conversation

drm/radeon/kms: remove the _DRM_DRIVER from the KMS paths.

PATCH New Dave Airlie 1 participant 1 message Jun 17, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/radeon/kms: remove the _DRM_DRIVER from the KMS paths.

From: Dave Airlie <[email protected]>

This causes an issue since we fixed the drm mappings to do the right thing, so its just a copy and pasto.

---
 drivers/gpu/drm/radeon/radeon_kms.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/gpu/drm/radeon/radeon_kms.c +1 -1
index b0ce44b..64f42b1 100644
@@ -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");
Signature · 1 line
1.6.2.2