diff options
author | Dave Airlie <airlied@starflyer.(none)> | 2005-07-10 03:07:23 -0400 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2005-07-10 03:07:23 -0400 |
commit | ceb9c27aa7d61c70f4c75f017d9fbc9de50034f1 (patch) | |
tree | 9d87bbbc1b7819b355c50807717a3e0099ee2815 | |
parent | d84f76d37c5eebb94c48337958d5a2ff2965c02d (diff) |
drm: destatic exported function.
Signed-off-by: Dave Airlie <airlied@linux.ie>
-rw-r--r-- | drivers/char/drm/drmP.h | 2 | ||||
-rw-r--r-- | drivers/char/drm/drm_bufs.c | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/drivers/char/drm/drmP.h b/drivers/char/drm/drmP.h index d16d07e28b4c..8e060a2cc3db 100644 --- a/drivers/char/drm/drmP.h +++ b/drivers/char/drm/drmP.h | |||
@@ -889,6 +889,8 @@ extern int drm_lock_free(drm_device_t *dev, | |||
889 | unsigned int context); | 889 | unsigned int context); |
890 | 890 | ||
891 | /* Buffer management support (drm_bufs.h) */ | 891 | /* Buffer management support (drm_bufs.h) */ |
892 | extern int drm_addbufs_agp(drm_device_t *dev, drm_buf_desc_t *request); | ||
893 | extern int drm_addbufs_pci(drm_device_t *dev, drm_buf_desc_t *request); | ||
892 | extern int drm_addmap(drm_device_t *dev, unsigned int offset, | 894 | extern int drm_addmap(drm_device_t *dev, unsigned int offset, |
893 | unsigned int size, drm_map_type_t type, | 895 | unsigned int size, drm_map_type_t type, |
894 | drm_map_flags_t flags, drm_map_t **map_ptr); | 896 | drm_map_flags_t flags, drm_map_t **map_ptr); |
diff --git a/drivers/char/drm/drm_bufs.c b/drivers/char/drm/drm_bufs.c index d0b1eb6ba6ca..06b01215fdf3 100644 --- a/drivers/char/drm/drm_bufs.c +++ b/drivers/char/drm/drm_bufs.c | |||
@@ -410,7 +410,7 @@ static void drm_cleanup_buf_error(drm_device_t *dev, drm_buf_entry_t *entry) | |||
410 | * reallocates the buffer list of the same size order to accommodate the new | 410 | * reallocates the buffer list of the same size order to accommodate the new |
411 | * buffers. | 411 | * buffers. |
412 | */ | 412 | */ |
413 | static int drm_addbufs_agp(drm_device_t *dev, drm_buf_desc_t *request) | 413 | int drm_addbufs_agp(drm_device_t *dev, drm_buf_desc_t *request) |
414 | { | 414 | { |
415 | drm_device_dma_t *dma = dev->dma; | 415 | drm_device_dma_t *dma = dev->dma; |
416 | drm_buf_entry_t *entry; | 416 | drm_buf_entry_t *entry; |
@@ -564,7 +564,7 @@ static int drm_addbufs_agp(drm_device_t *dev, drm_buf_desc_t *request) | |||
564 | EXPORT_SYMBOL(drm_addbufs_agp); | 564 | EXPORT_SYMBOL(drm_addbufs_agp); |
565 | #endif /* __OS_HAS_AGP */ | 565 | #endif /* __OS_HAS_AGP */ |
566 | 566 | ||
567 | static int drm_addbufs_pci(drm_device_t *dev, drm_buf_desc_t *request) | 567 | int drm_addbufs_pci(drm_device_t *dev, drm_buf_desc_t *request) |
568 | { | 568 | { |
569 | drm_device_dma_t *dma = dev->dma; | 569 | drm_device_dma_t *dma = dev->dma; |
570 | int count; | 570 | int count; |