aboutsummaryrefslogtreecommitdiff
path: root/linux-core/ati_pcigart.c
diff options
context:
space:
mode:
authorJon Smirl <jonsmirl@yahoo.com>2004-11-05 17:29:14 +0000
committerJon Smirl <jonsmirl@yahoo.com>2004-11-05 17:29:14 +0000
commit39a23640b2de9e59e99d48e6de8c9edae0231856 (patch)
treecc25bee8751144e1f68bdcf7a15894aaecffded5 /linux-core/ati_pcigart.c
parentf08a01c0e21431e1b7990584ce2f61f0e711c093 (diff)
Move ati_pcigart shared routines into drm-core module
Diffstat (limited to 'linux-core/ati_pcigart.c')
-rw-r--r--linux-core/ati_pcigart.c7
1 files changed, 5 insertions, 2 deletions
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 <gareth@valinux.com>
@@ -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);
+