diff options
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_gem.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_gem.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_gem.c b/drivers/gpu/drm/nouveau/nouveau_gem.c index 49320219df91..292a677bfed4 100644 --- a/drivers/gpu/drm/nouveau/nouveau_gem.c +++ b/drivers/gpu/drm/nouveau/nouveau_gem.c | |||
@@ -24,8 +24,6 @@ | |||
24 | * | 24 | * |
25 | */ | 25 | */ |
26 | 26 | ||
27 | #include <subdev/fb.h> | ||
28 | |||
29 | #include "nouveau_drm.h" | 27 | #include "nouveau_drm.h" |
30 | #include "nouveau_dma.h" | 28 | #include "nouveau_dma.h" |
31 | #include "nouveau_fence.h" | 29 | #include "nouveau_fence.h" |
@@ -696,7 +694,7 @@ nouveau_gem_ioctl_pushbuf(struct drm_device *dev, void *data, | |||
696 | return -ENOMEM; | 694 | return -ENOMEM; |
697 | 695 | ||
698 | list_for_each_entry(temp, &abi16->channels, head) { | 696 | list_for_each_entry(temp, &abi16->channels, head) { |
699 | if (temp->chan->handle == (NVDRM_CHAN | req->channel)) { | 697 | if (temp->chan->object->handle == (NVDRM_CHAN | req->channel)) { |
700 | chan = temp->chan; | 698 | chan = temp->chan; |
701 | break; | 699 | break; |
702 | } | 700 | } |