summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2004-08-02 11:45:23 +0000
committerDave Airlie <airlied@linux.ie>2004-08-02 11:45:23 +0000
commit33b740ad9946ce6fdedeed45287e488f95fb7b42 (patch)
tree6f6db4b09f80e476f67b9b98ace4c863cc72152b
parent5e7e41819eb4d4b18201bbb46d0c6e359c4039cd (diff)
forgot to check these in.. thanks to Jon for reminding me ..
-rw-r--r--shared-core/i915_dma.c2
-rw-r--r--shared/i915.h2
-rw-r--r--shared/i915_dma.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/shared-core/i915_dma.c b/shared-core/i915_dma.c
index 28820378..fc1b356f 100644
--- a/shared-core/i915_dma.c
+++ b/shared-core/i915_dma.c
@@ -81,7 +81,7 @@ void i915_kernel_lost_context(drm_device_t *dev)
}
-static int i915_dma_cleanup(drm_device_t *dev)
+int i915_dma_cleanup(drm_device_t *dev)
{
/* Make sure interrupts are disabled here because the uninstall ioctl
* may not have been called from userspace and after dev_private
diff --git a/shared/i915.h b/shared/i915.h
index f7832e21..2744d0e6 100644
--- a/shared/i915.h
+++ b/shared/i915.h
@@ -64,7 +64,7 @@
drm_i915_private_t *dev_priv = dev->dev_private; \
i915_mem_takedown( &(dev_priv->agp_heap) ); \
} \
- i915_cleanup( dev ); \
+ i915_dma_cleanup( dev ); \
} while (0)
diff --git a/shared/i915_dma.c b/shared/i915_dma.c
index 28820378..fc1b356f 100644
--- a/shared/i915_dma.c
+++ b/shared/i915_dma.c
@@ -81,7 +81,7 @@ void i915_kernel_lost_context(drm_device_t *dev)
}
-static int i915_dma_cleanup(drm_device_t *dev)
+int i915_dma_cleanup(drm_device_t *dev)
{
/* Make sure interrupts are disabled here because the uninstall ioctl
* may not have been called from userspace and after dev_private