drm_proc_root = create_proc_entry("dri", S_IFDIR, NULL); 
drm_proc_root = proc_mkdir("dri", NULL); 
static int __init drm_core_init(void){	int ret = -ENOMEM;		drm_cards_limit = (drm_cards_limit < DRM_MAX_MINOR + 1 ? drm_cards_limit : DRM_MAX_MINOR + 1);	drm_heads = drm_calloc(drm_cards_limit,				sizeof(*drm_heads), DRM_MEM_STUB);	if(!drm_heads) 		goto err_p1;		if (register_chrdev(DRM_MAJOR, "drm", &drm_stub_fops))		goto err_p1;		drm_class = drm_sysfs_create(THIS_MODULE, "drm");	if (IS_ERR(drm_class)) {		printk (KERN_ERR "DRM: Error creating drm class.\n");		ret = PTR_ERR(drm_class);		goto err_p2;	}	drm_proc_root = create_proc_entry("dri", S_IFDIR, NULL);	if (!drm_proc_root) {		DRM_ERROR("Cannot create /proc/dri\n");		ret = -1;		goto err_p3;	}			DRM_INFO( "Initialized %s %d.%d.%d %s\n",		CORE_NAME, CORE_MAJOR, CORE_MINOR, CORE_PATCHLEVEL,		CORE_DATE);	return 0;err_p3:	drm_sysfs_destroy(drm_class);err_p2:	unregister_chrdev(DRM_MAJOR, "drm");	drm_free(drm_heads, sizeof(*drm_heads) * drm_cards_limit, DRM_MEM_STUB);err_p1:		return ret;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/666002218d59db271e5c1ede1d80227170c51987/drm_drv.c/clean/drivers/char/drm/drm_drv.c