drm: destatic exported function.
authorDave Airlie <airlied@starflyer.(none)>
Sun, 10 Jul 2005 07:07:23 +0000 (17:07 +1000)
committerDave Airlie <airlied@linux.ie>
Sun, 10 Jul 2005 07:07:23 +0000 (17:07 +1000)
Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/char/drm/drmP.h
drivers/char/drm/drm_bufs.c

index d16d07e28b4cdf48a89634e14c15aba0b281f8c7..8e060a2cc3db0ceaa4891f54d1b0fc53a7707b59 100644 (file)
@@ -889,6 +889,8 @@ extern int       drm_lock_free(drm_device_t *dev,
                                    unsigned int context);
 
                                /* Buffer management support (drm_bufs.h) */
+extern int drm_addbufs_agp(drm_device_t *dev, drm_buf_desc_t *request);
+extern int drm_addbufs_pci(drm_device_t *dev, drm_buf_desc_t *request);
 extern int drm_addmap(drm_device_t *dev, unsigned int offset,
                      unsigned int size, drm_map_type_t type,
                      drm_map_flags_t flags, drm_map_t **map_ptr);
index d0b1eb6ba6ca977c6d23dac9a27416ae646d86fe..06b01215fdf34596bcc0b79db7d47c12e84a8466 100644 (file)
@@ -410,7 +410,7 @@ static void drm_cleanup_buf_error(drm_device_t *dev, drm_buf_entry_t *entry)
  * reallocates the buffer list of the same size order to accommodate the new
  * buffers.
  */
-static int drm_addbufs_agp(drm_device_t *dev, drm_buf_desc_t *request)
+int drm_addbufs_agp(drm_device_t *dev, drm_buf_desc_t *request)
 {
        drm_device_dma_t *dma = dev->dma;
        drm_buf_entry_t *entry;
@@ -564,7 +564,7 @@ static int drm_addbufs_agp(drm_device_t *dev, drm_buf_desc_t *request)
 EXPORT_SYMBOL(drm_addbufs_agp);
 #endif /* __OS_HAS_AGP */
 
-static int drm_addbufs_pci(drm_device_t *dev, drm_buf_desc_t *request)
+int drm_addbufs_pci(drm_device_t *dev, drm_buf_desc_t *request)
 {
        drm_device_dma_t *dma = dev->dma;
        int count;