summaryrefslogtreecommitdiff
path: root/linux-core/drm_stub.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2005-03-25 09:48:34 +0000
committerDave Airlie <airlied@linux.ie>2005-03-25 09:48:34 +0000
commit956a701544d22c7885e53678531448cd04aba5f5 (patch)
treec7854516eb10d6a60d18143a1a58e85212e1d1a6 /linux-core/drm_stub.c
parent2ad83874287622875f6979da3cd505d18b697704 (diff)
fix up AGP multi-head support for kernel 2.6.12
Diffstat (limited to 'linux-core/drm_stub.c')
-rw-r--r--linux-core/drm_stub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/drm_stub.c b/linux-core/drm_stub.c
index 41dee097..a3cc5667 100644
--- a/linux-core/drm_stub.c
+++ b/linux-core/drm_stub.c
@@ -99,7 +99,7 @@ static int fill_in_dev(drm_device_t * dev, struct pci_dev *pdev,
goto error_out_unreg;
if (drm_core_has_AGP(dev)) {
- dev->agp = drm_agp_init();
+ dev->agp = drm_agp_init(dev);
if (drm_core_check_feature(dev, DRIVER_REQUIRE_AGP)
&& (dev->agp == NULL)) {
DRM_ERROR("Cannot initialize the agpgart module.\n");