Commit 96bec198 authored by Tom St Denis's avatar Tom St Denis Committed by Alex Deucher

drm/ttm: Remove needless 'extern' on functions in header.

Minor tidy up.
Signed-off-by: default avatarTom St Denis <tom.stdenis@amd.com>
Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent f7871fd1
...@@ -47,7 +47,7 @@ void ttm_page_alloc_fini(void); ...@@ -47,7 +47,7 @@ void ttm_page_alloc_fini(void);
* *
* Add backing pages to all of @ttm * Add backing pages to all of @ttm
*/ */
extern int ttm_pool_populate(struct ttm_tt *ttm); int ttm_pool_populate(struct ttm_tt *ttm);
/** /**
* ttm_pool_unpopulate: * ttm_pool_unpopulate:
...@@ -56,12 +56,12 @@ extern int ttm_pool_populate(struct ttm_tt *ttm); ...@@ -56,12 +56,12 @@ extern int ttm_pool_populate(struct ttm_tt *ttm);
* *
* Free all pages of @ttm * Free all pages of @ttm
*/ */
extern void ttm_pool_unpopulate(struct ttm_tt *ttm); void ttm_pool_unpopulate(struct ttm_tt *ttm);
/** /**
* Output the state of pools to debugfs file * Output the state of pools to debugfs file
*/ */
extern int ttm_page_alloc_debugfs(struct seq_file *m, void *data); int ttm_page_alloc_debugfs(struct seq_file *m, void *data);
#if defined(CONFIG_SWIOTLB) || defined(CONFIG_INTEL_IOMMU) #if defined(CONFIG_SWIOTLB) || defined(CONFIG_INTEL_IOMMU)
...@@ -78,10 +78,10 @@ void ttm_dma_page_alloc_fini(void); ...@@ -78,10 +78,10 @@ void ttm_dma_page_alloc_fini(void);
/** /**
* Output the state of pools to debugfs file * Output the state of pools to debugfs file
*/ */
extern int ttm_dma_page_alloc_debugfs(struct seq_file *m, void *data); int ttm_dma_page_alloc_debugfs(struct seq_file *m, void *data);
extern int ttm_dma_populate(struct ttm_dma_tt *ttm_dma, struct device *dev); int ttm_dma_populate(struct ttm_dma_tt *ttm_dma, struct device *dev);
extern void ttm_dma_unpopulate(struct ttm_dma_tt *ttm_dma, struct device *dev); void ttm_dma_unpopulate(struct ttm_dma_tt *ttm_dma, struct device *dev);
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment