diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2017-01-25 01:26:52 -0500 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2017-01-26 04:45:14 -0500 |
commit | 2ce0264d61548b51d5d406ff9f414af10b9c7348 (patch) | |
tree | 79f3e0105e676fa13e59805273db7b2274ada28e /drivers/gpu/drm/drm_internal.h | |
parent | 858b2c1bf820ebfba89c5e2867ab882bdb5b2f5a (diff) |
drm: remove device_is_agp callback
With that the drm_pci_device_is_agp function becomes trivial, so
inline that too. And while at it, move the drm_pci_agp_destroy
declaration into drm-internal.h, since it's not used by drivers.
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Ben Skeggs <bskeggs@redhat.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170125062657.19270-11-daniel.vetter@ffwll.ch
Diffstat (limited to 'drivers/gpu/drm/drm_internal.h')
-rw-r--r-- | drivers/gpu/drm/drm_internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/drm_internal.h b/drivers/gpu/drm/drm_internal.h index a6213f814345..f37388cb2fde 100644 --- a/drivers/gpu/drm/drm_internal.h +++ b/drivers/gpu/drm/drm_internal.h | |||
@@ -31,6 +31,7 @@ void drm_lastclose(struct drm_device *dev); | |||
31 | /* drm_pci.c */ | 31 | /* drm_pci.c */ |
32 | int drm_irq_by_busid(struct drm_device *dev, void *data, | 32 | int drm_irq_by_busid(struct drm_device *dev, void *data, |
33 | struct drm_file *file_priv); | 33 | struct drm_file *file_priv); |
34 | void drm_pci_agp_destroy(struct drm_device *dev); | ||
34 | 35 | ||
35 | /* drm_prime.c */ | 36 | /* drm_prime.c */ |
36 | int drm_prime_handle_to_fd_ioctl(struct drm_device *dev, void *data, | 37 | int drm_prime_handle_to_fd_ioctl(struct drm_device *dev, void *data, |