diff options
author | Dave Airlie <airlied@linux.ie> | 2007-05-26 05:04:51 +1000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2007-07-11 11:58:02 +1000 |
commit | da509d7a02cb54938776439edc81f057e39f81e0 (patch) | |
tree | 9610b5c9040393041807014ed20c4497459550b8 /drivers/char/drm/via_map.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/via_map.c')
-rw-r--r-- | drivers/char/drm/via_map.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/drm/via_map.c b/drivers/char/drm/via_map.c index 4e3fc072aa3..dea6390a61f 100644 --- a/drivers/char/drm/via_map.c +++ b/drivers/char/drm/via_map.c @@ -31,7 +31,7 @@ static int via_do_init_map(drm_device_t * dev, drm_via_init_t * init) DRM_DEBUG("%s\n", __FUNCTION__); - DRM_GETSAREA(); + dev_priv->sarea = drm_getsarea(dev); if (!dev_priv->sarea) { DRM_ERROR("could not find sarea!\n"); dev->dev_private = (void *)dev_priv; |