diff options
author | Dave Airlie <airlied@redhat.com> | 2019-04-23 09:47:27 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2019-04-24 12:32:18 +1000 |
commit | 8437dd73b37f244863d1d8954a69d8b0eecd3470 (patch) | |
tree | 1192ea23d14f4bb5e57fe5a15afa01650e10a01b /drivers/gpu/drm/drm_legacy.h | |
parent | fabb0e2a256944c44e820ac411c91e9f6cfd7080 (diff) |
drm/legacy: move init/destroy of struct members into legacy file
This introduces drm_legacy_misc.c as a place for some misc legacy code,
eventually I want to give the option to remove this from the build.
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/drm_legacy.h')
-rw-r--r-- | drivers/gpu/drm/drm_legacy.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/drm_legacy.h b/drivers/gpu/drm/drm_legacy.h index ef419d500e51..4f6319d2bb03 100644 --- a/drivers/gpu/drm/drm_legacy.h +++ b/drivers/gpu/drm/drm_legacy.h @@ -136,5 +136,8 @@ int drm_legacy_sg_alloc(struct drm_device *dev, void *data, int drm_legacy_sg_free(struct drm_device *dev, void *data, struct drm_file *file_priv); +void drm_legacy_init_members(struct drm_device *dev); +void drm_legacy_destroy_members(struct drm_device *dev); + void drm_legacy_lock_master_cleanup(struct drm_device *dev, struct drm_master *master); #endif /* __DRM_LEGACY_H__ */ |