drm/legacy: move init/destroy of struct members into legacy file
authorDave Airlie <airlied@redhat.com>
Mon, 22 Apr 2019 23:47:27 +0000 (09:47 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 24 Apr 2019 02:32:18 +0000 (12:32 +1000)
commit8437dd73b37f244863d1d8954a69d8b0eecd3470
tree1192ea23d14f4bb5e57fe5a15afa01650e10a01b
parentfabb0e2a256944c44e820ac411c91e9f6cfd7080
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>
drivers/gpu/drm/Makefile
drivers/gpu/drm/drm_drv.c
drivers/gpu/drm/drm_legacy.h
drivers/gpu/drm/drm_legacy_misc.c [new file with mode: 0644]