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_memory.c | |
parent | 93f453f3ffd8f4dbb0311b58b854e7655da3d601 (diff) |
drm: make drm_alloc_agp take a dev arg.
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/char/drm/drm_memory.c')
-rw-r--r-- | drivers/char/drm/drm_memory.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/drm/drm_memory.c b/drivers/char/drm/drm_memory.c index ef66494b854..ff483fb418a 100644 --- a/drivers/char/drm/drm_memory.c +++ b/drivers/char/drm/drm_memory.c @@ -142,9 +142,9 @@ void drm_free_pages(unsigned long address, int order, int area) #if __OS_HAS_AGP /** Wrapper around agp_allocate_memory() */ -DRM_AGP_MEM *drm_alloc_agp(struct agp_bridge_data *bridge, int pages, u32 type) +DRM_AGP_MEM *drm_alloc_agp(drm_device_t *dev, int pages, u32 type) { - return drm_agp_allocate_memory(bridge, pages, type); + return drm_agp_allocate_memory(dev->agp->bridge, pages, type); } EXPORT_SYMBOL(drm_alloc_agp); |