diff options
author | Dave Airlie <airlied@starflyer.(none)> | 2005-07-10 18:17:42 +1000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2005-07-10 18:17:42 +1000 |
commit | b5d499cfdeebcb71f00f3513045796ccae718140 (patch) | |
tree | 009eccb0fc8657fda446851f7c7df497ef3470b6 /drivers/char/drm/drm_agpsupport.c | |
parent | 93f453f3ffd8f4dbb0311b58b854e7655da3d601 (diff) | |
download | lwn-b5d499cfdeebcb71f00f3513045796ccae718140.tar.gz lwn-b5d499cfdeebcb71f00f3513045796ccae718140.zip |
drm: make drm_alloc_agp take a dev arg.
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/char/drm/drm_agpsupport.c')
-rw-r--r-- | drivers/char/drm/drm_agpsupport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/drm/drm_agpsupport.c b/drivers/char/drm/drm_agpsupport.c index d413da00329d..ffb4acaefe84 100644 --- a/drivers/char/drm/drm_agpsupport.c +++ b/drivers/char/drm/drm_agpsupport.c @@ -229,7 +229,7 @@ int drm_agp_alloc(struct inode *inode, struct file *filp, pages = (request.size + PAGE_SIZE - 1) / PAGE_SIZE; type = (u32) request.type; - if (!(memory = drm_alloc_agp(dev->agp->bridge, pages, type))) { + if (!(memory = drm_alloc_agp(dev, pages, type))) { drm_free(entry, sizeof(*entry), DRM_MEM_AGPLISTS); return -ENOMEM; } |