drm/pci: Unexport drm_get_pci_dev
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 25 Feb 2020 16:58:35 +0000 (17:58 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 6 Mar 2020 15:08:24 +0000 (16:08 +0100)
commitc393fbae0226e9ad8719a516bec66bb2b8bbfcb6
treefced740f4b449da7c8c515c156dfd5d563134156
parent8ff1d62c9e978e78779ac968f3480e10966650a1
drm/pci: Unexport drm_get_pci_dev

Only user left is the shadow attach for legacy drivers.

v2: Shift the #ifdef CONFIG_DRM_LEGACY to now also include
drm_get_pci_dev() (Thomas)

Cc: Thomas Zimmermann <tzimmermann@suse.de>
Cc: Emil Velikov <emil.velikov@collabora.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200225165835.2394442-1-daniel.vetter@ffwll.ch
drivers/gpu/drm/drm_pci.c
include/drm/drm_pci.h