drm: Move struct drm_device.hose to legacy section
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 12 Jan 2021 08:10:35 +0000 (09:10 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Wed, 13 Jan 2021 13:22:37 +0000 (14:22 +0100)
commit14054f2afcd6fcef8270a32cbd7570b4992994c5
tree5b19005bce6c15508ef6def090835aded887f6de
parent5c1736cff13400ee35f4fb5144fab570fa2799ce
drm: Move struct drm_device.hose to legacy section

The field is only relevant for legacy DRM drivers. Its only non-legacy
user in the DRM core is in drm_file.c. This code is now protected by
CONFIG_DRM_LEGACY. Radeon, the only driver that used the field, has been
changed to maintain it's own copy.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Christian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210112081035.6882-7-tzimmermann@suse.de
drivers/gpu/drm/drm_file.c
include/drm/drm_device.h