]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Make drm_pci_agp_init legacy
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 7 Mar 2020 09:37:02 +0000 (09:37 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 9 Mar 2020 09:22:50 +0000 (09:22 +0000)
commitc94cbe7ddd364b3ae59d0770ad6840bacef49fe6
tree1ecb4f1509c3b6eb3c6fe93391f9c66862d0050f
parentdec4cb451542554af0cf226d35fe0813e180bd21
drm: Make drm_pci_agp_init legacy

Pull the drm_pci_agp_init() underneath the legacy ifdeffry alongside its
only caller.

The diff chooses it to so it by moving drm_pci_agp_destroy earlier, but
the important bit is moving the #ifdef earlier before drm_pci_agp_init.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20200307093702.2269-1-chris@chris-wilson.co.uk
drivers/gpu/drm/drm_pci.c