int i915_dma_init(DRM_IOCTL_ARGS) 
static int i915_dma_init(DRM_IOCTL_ARGS) 
int i915_dma_init(DRM_IOCTL_ARGS){	DRM_DEVICE;	drm_i915_private_t *dev_priv;	drm_i915_init_t init;	int retcode = 0;	DRM_COPY_FROM_USER_IOCTL(init, (drm_i915_init_t __user *) data,				 sizeof(init));	switch (init.func) {	case I915_INIT_DMA:		dev_priv = drm_alloc (sizeof(drm_i915_private_t),				       DRM_MEM_DRIVER);		if (dev_priv == NULL)			return DRM_ERR(ENOMEM);		retcode = i915_initialize(dev, dev_priv, &init);		break;	case I915_CLEANUP_DMA:		retcode = i915_dma_cleanup(dev);		break;	case I915_RESUME_DMA:		retcode = i915_resume(dev);		break;	default:		retcode = -EINVAL;		break;	}	return retcode;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/c94f70298529d99ac6e1ee7709f61eab00adeb39/i915_dma.c/buggy/drivers/char/drm/i915_dma.c