diff options
| author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-09-23 09:46:49 -0400 |
|---|---|---|
| committer | Dave Airlie <airlied@redhat.com> | 2014-09-23 21:43:07 -0400 |
| commit | bfbf3c851ce53b914fe98d60ea3fe3fc1ab75b96 (patch) | |
| tree | 789fa903b1dfd94ffb95a5546830cef74025b622 /drivers/gpu/drm/sis | |
| parent | 197633b924517082327b66db6caf34bae720ea4e (diff) | |
drm: move drm_mmap to <drm/drm_legacy.h>
Now that we've removed the copypasted users in gem/ttm we can
relegate the legacy buffer mapping support to where it belongs.
Also give it the proper drm_legacy_ prefix.
While at it statify drm_mmap_locked, somehow I've missed that in my
previous header rework.
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/sis')
| -rw-r--r-- | drivers/gpu/drm/sis/sis_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/sis/sis_drv.c b/drivers/gpu/drm/sis/sis_drv.c index 54858e6fedaf..79bce76cb8f7 100644 --- a/drivers/gpu/drm/sis/sis_drv.c +++ b/drivers/gpu/drm/sis/sis_drv.c | |||
| @@ -70,7 +70,7 @@ static const struct file_operations sis_driver_fops = { | |||
| 70 | .open = drm_open, | 70 | .open = drm_open, |
| 71 | .release = drm_release, | 71 | .release = drm_release, |
| 72 | .unlocked_ioctl = drm_ioctl, | 72 | .unlocked_ioctl = drm_ioctl, |
| 73 | .mmap = drm_mmap, | 73 | .mmap = drm_legacy_mmap, |
| 74 | .poll = drm_poll, | 74 | .poll = drm_poll, |
| 75 | #ifdef CONFIG_COMPAT | 75 | #ifdef CONFIG_COMPAT |
| 76 | .compat_ioctl = drm_compat_ioctl, | 76 | .compat_ioctl = drm_compat_ioctl, |
