From fd7e0d719260259f6e4e7711bd63a4175557d559 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Wed, 10 Sep 2014 18:23:07 +1000 Subject: drm: split ati_pcigart.h out of drmP.h Just move this into a separate header file, and make the two users use it. Reviewed-by: Daniel Vetter Reviewed-by: Alex Deucher Signed-off-by: Dave Airlie --- drivers/gpu/drm/ati_pcigart.c | 2 ++ drivers/gpu/drm/r128/r128_drv.h | 1 + drivers/gpu/drm/radeon/radeon_drv.h | 1 + 3 files changed, 4 insertions(+) (limited to 'drivers/gpu') diff --git a/drivers/gpu/drm/ati_pcigart.c b/drivers/gpu/drm/ati_pcigart.c index c399dea27a3b..6c4d4b6eba80 100644 --- a/drivers/gpu/drm/ati_pcigart.c +++ b/drivers/gpu/drm/ati_pcigart.c @@ -34,6 +34,8 @@ #include #include +#include + # define ATI_PCIGART_PAGE_SIZE 4096 /**< PCI GART page size */ static int drm_ati_alloc_pcigart_table(struct drm_device *dev, diff --git a/drivers/gpu/drm/r128/r128_drv.h b/drivers/gpu/drm/r128/r128_drv.h index 5bf3f5ff805d..49fe02670c2e 100644 --- a/drivers/gpu/drm/r128/r128_drv.h +++ b/drivers/gpu/drm/r128/r128_drv.h @@ -35,6 +35,7 @@ #ifndef __R128_DRV_H__ #define __R128_DRV_H__ +#include /* General customization: */ #define DRIVER_AUTHOR "Gareth Hughes, VA Linux Systems Inc." diff --git a/drivers/gpu/drm/radeon/radeon_drv.h b/drivers/gpu/drm/radeon/radeon_drv.h index dafd812e4571..3590cb47a22e 100644 --- a/drivers/gpu/drm/radeon/radeon_drv.h +++ b/drivers/gpu/drm/radeon/radeon_drv.h @@ -34,6 +34,7 @@ #include #include +#include #include "radeon_family.h" /* General customization: -- cgit v1.2.3