drm/pci: Move drm_pci_alloc/free under CONFIG_DRM_LEGACY
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 3 Apr 2020 11:06:09 +0000 (13:06 +0200)
committerSam Ravnborg <sam@ravnborg.org>
Fri, 3 Apr 2020 15:11:28 +0000 (17:11 +0200)
commit33775336d56ebed543f4d6cc636e9018c8a671a1
tree469db6304a3d6e5c2d4f27741235f9466c499dbe
parentc76d4ab764adaef6ee4c385df2df24dbaea88412
drm/pci: Move drm_pci_alloc/free under CONFIG_DRM_LEGACY

All other users have been removed, yay!

Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
[fix checkpatch warning]
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200403110610.2344842-1-daniel.vetter@ffwll.ch
drivers/gpu/drm/drm_pci.c
include/drm/drm_legacy.h
include/drm/drm_pci.h