forked from rpms/kernel
		
	nouveau_platform-fix.patch: update after actually testing...
This commit is contained in:
		
							parent
							
								
									d81631f2db
								
							
						
					
					
						commit
						80030a0b31
					
				| @ -7,7 +7,7 @@ index 0ffeb50..e53e854 100644 | |||||||
|  { |  { | ||||||
|  	struct drm_device *drm_dev = platform_get_drvdata(pdev); |  	struct drm_device *drm_dev = platform_get_drvdata(pdev); | ||||||
| -	struct nouveau_device *device = nouveau_dev(drm_dev);
 | -	struct nouveau_device *device = nouveau_dev(drm_dev);
 | ||||||
| +	struct nouveau_device *device = nv_device(nouveau_drm(drm_dev)->device);
 | +	struct nouveau_device *device = nv_device(&nouveau_drm(drm_dev)->device);
 | ||||||
|  	struct nouveau_platform_gpu *gpu = nv_device_to_platform(device)->gpu; |  	struct nouveau_platform_gpu *gpu = nv_device_to_platform(device)->gpu; | ||||||
|   |   | ||||||
|  	nouveau_drm_device_remove(drm_dev); |  	nouveau_drm_device_remove(drm_dev); | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user