me spell gud
This commit is contained in:
parent
0c88b0b7fb
commit
d81631f2db
@ -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(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