diff options
author | Dave Airlie <airlied@linux.ie> | 2009-06-17 03:21:13 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-17 12:45:46 -0400 |
commit | 3b47883d93e941cb2b2df9ab46b2bdb66116c992 (patch) | |
tree | 76ba4587d1e2ee7d2647da0f58dda1e882c9bd2c /drivers/gpu | |
parent | 4ce4b1b73b4dd37e4a70390976ac0bcf7038d6f9 (diff) |
drm/radeon/kms: remove the _DRM_DRIVER from the KMS paths.
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>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_kms.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_kms.c b/drivers/gpu/drm/radeon/radeon_kms.c index b0ce44b9f5ab..64f42b19cbfa 100644 --- a/drivers/gpu/drm/radeon/radeon_kms.c +++ b/drivers/gpu/drm/radeon/radeon_kms.c | |||
@@ -176,7 +176,7 @@ int radeon_master_create_kms(struct drm_device *dev, struct drm_master *master) | |||
176 | /* prebuild the SAREA */ | 176 | /* prebuild the SAREA */ |
177 | sareapage = max_t(unsigned long, SAREA_MAX, PAGE_SIZE); | 177 | sareapage = max_t(unsigned long, SAREA_MAX, PAGE_SIZE); |
178 | ret = drm_addmap(dev, 0, sareapage, _DRM_SHM, | 178 | ret = drm_addmap(dev, 0, sareapage, _DRM_SHM, |
179 | _DRM_CONTAINS_LOCK|_DRM_DRIVER, | 179 | _DRM_CONTAINS_LOCK, |
180 | &master_priv->sarea); | 180 | &master_priv->sarea); |
181 | if (ret) { | 181 | if (ret) { |
182 | DRM_ERROR("SAREA setup failed\n"); | 182 | DRM_ERROR("SAREA setup failed\n"); |