diff options
author | Dave Airlie <airlied@linux.ie> | 2007-05-25 15:04:51 -0400 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2007-07-10 21:58:02 -0400 |
commit | da509d7a02cb54938776439edc81f057e39f81e0 (patch) | |
tree | 9610b5c9040393041807014ed20c4497459550b8 /drivers/char/drm/r128_cce.c | |
parent | bd1b331fae2813d9f03ceee649296f02edc0b893 (diff) |
drm: remove DRM_GETSAREA and replace with drm_getsarea function
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/char/drm/r128_cce.c')
-rw-r--r-- | drivers/char/drm/r128_cce.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/char/drm/r128_cce.c b/drivers/char/drm/r128_cce.c index 1014602c43a7..eabb4c42c319 100644 --- a/drivers/char/drm/r128_cce.c +++ b/drivers/char/drm/r128_cce.c | |||
@@ -456,8 +456,7 @@ static int r128_do_init_cce(drm_device_t * dev, drm_r128_init_t * init) | |||
456 | dev_priv->span_pitch_offset_c = (((dev_priv->depth_pitch / 8) << 21) | | 456 | dev_priv->span_pitch_offset_c = (((dev_priv->depth_pitch / 8) << 21) | |
457 | (dev_priv->span_offset >> 5)); | 457 | (dev_priv->span_offset >> 5)); |
458 | 458 | ||
459 | DRM_GETSAREA(); | 459 | dev_priv->sarea = drm_getsarea(dev); |
460 | |||
461 | if (!dev_priv->sarea) { | 460 | if (!dev_priv->sarea) { |
462 | DRM_ERROR("could not find sarea!\n"); | 461 | DRM_ERROR("could not find sarea!\n"); |
463 | dev->dev_private = (void *)dev_priv; | 462 | dev->dev_private = (void *)dev_priv; |