}
-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
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)
}
-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