diff options
author | Souptick Joarder <jrdr.linux@gmail.com> | 2018-04-14 19:23:21 +0300 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2018-06-21 23:01:50 +0300 |
commit | abd7dbe921bb2c12933551423de23dda2980c890 (patch) | |
tree | d07c3b06239e37531bdbe3acc2a44149c4e82180 /drivers/gpu/drm/vc4/vc4_bo.c | |
parent | 8d4f4b82155cc6774d0fd8aaafb882566f7fd5fb (diff) | |
download | linux-abd7dbe921bb2c12933551423de23dda2980c890.tar.xz |
gpu: drm: vc4: Adding new typedef vm_fault_t
Use new return type vm_fault_t for fault handler.
Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com>
Reviewed-by: Matthew Wilcox <mawilcox@microsoft.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'drivers/gpu/drm/vc4/vc4_bo.c')
-rw-r--r-- | drivers/gpu/drm/vc4/vc4_bo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/vc4/vc4_bo.c b/drivers/gpu/drm/vc4/vc4_bo.c index add9cc97a3b6..8dcce7182bb7 100644 --- a/drivers/gpu/drm/vc4/vc4_bo.c +++ b/drivers/gpu/drm/vc4/vc4_bo.c @@ -721,7 +721,7 @@ vc4_prime_export(struct drm_device *dev, struct drm_gem_object *obj, int flags) return dmabuf; } -int vc4_fault(struct vm_fault *vmf) +vm_fault_t vc4_fault(struct vm_fault *vmf) { struct vm_area_struct *vma = vmf->vma; struct drm_gem_object *obj = vma->vm_private_data; |