diff options
author | Dave Airlie <airlied@linux.ie> | 2004-08-17 13:10:05 +0000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2004-08-17 13:10:05 +0000 |
commit | 5c9ed8309493acb099463d25b32fabb5b7c004af (patch) | |
tree | eec5be6f9374b5a2f61d52bd02ba0a44ba7e636d /shared/via_map.c | |
parent | 93e8c201afac565942f9d3523ac808d3220d6d0e (diff) |
Merged drmfntbl-0-0-1drmfntbl-0-0-1-20040817-merge
Diffstat (limited to 'shared/via_map.c')
-rw-r--r-- | shared/via_map.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shared/via_map.c b/shared/via_map.c index 53260927..afafadf1 100644 --- a/shared/via_map.c +++ b/shared/via_map.c @@ -47,14 +47,14 @@ int via_do_init_map(drm_device_t *dev, drm_via_init_t *init) return -EINVAL; } - DRM_FIND_MAP(dev_priv->fb, init->fb_offset); + dev_priv->fb = drm_core_findmap(dev, init->fb_offset); if (!dev_priv->fb) { DRM_ERROR("could not find framebuffer!\n"); dev->dev_private = (void *)dev_priv; via_do_cleanup_map(dev); return -EINVAL; } - DRM_FIND_MAP(dev_priv->mmio, init->mmio_offset); + dev_priv->mmio = drm_core_findmap(dev, init->mmio_offset); if (!dev_priv->mmio) { DRM_ERROR("could not find mmio region!\n"); dev->dev_private = (void *)dev_priv; |