From 39a23640b2de9e59e99d48e6de8c9edae0231856 Mon Sep 17 00:00:00 2001 From: Jon Smirl Date: Fri, 5 Nov 2004 17:29:14 +0000 Subject: Move ati_pcigart shared routines into drm-core module --- linux-core/ati_pcigart.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'linux-core/ati_pcigart.c') diff --git a/linux-core/ati_pcigart.c b/linux-core/ati_pcigart.c index 19d03592..66ca47c0 100644 --- a/linux-core/ati_pcigart.c +++ b/linux-core/ati_pcigart.c @@ -1,5 +1,5 @@ /** - * \file ati_pcigart.h + * \file ati_pcigart.h * ATI PCI GART support * * \author Gareth Hughes @@ -52,7 +52,7 @@ # define ATI_MAX_PCIGART_PAGES 8192 /**< 32 MB aperture, 4K pages */ # define ATI_PCIGART_PAGE_SIZE 4096 /**< PCI GART page size */ -static unsigned long drm_ati_alloc_pcigart_table(void) +unsigned long drm_ati_alloc_pcigart_table(void) { unsigned long address; struct page *page; @@ -167,6 +167,7 @@ int drm_ati_pcigart_init(drm_device_t * dev, *bus_addr = bus_address; return ret; } +EXPORT_SYMBOL(drm_ati_pcigart_init); int drm_ati_pcigart_cleanup(drm_device_t * dev, unsigned long addr, dma_addr_t bus_addr) @@ -203,3 +204,5 @@ int drm_ati_pcigart_cleanup(drm_device_t * dev, return 1; } +EXPORT_SYMBOL(drm_ati_pcigart_cleanup); + -- cgit v1.2.3