aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom St Denis <tom.stdenis@amd.com>2017-08-24 06:46:39 -0400
committerAlex Deucher <alexander.deucher@amd.com>2017-08-29 15:27:54 -0400
commit96bec198352799794b0f8937620e811ef8b9fa22 (patch)
tree5bfd50b1a7f9ad4e4b62920a0deeac9bfbe64e1d
parentf7871fd19389c5f64f625a4389675d0740f0dfe4 (diff)
drm/ttm: Remove needless 'extern' on functions in header.
Minor tidy up. Signed-off-by: Tom St Denis <tom.stdenis@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--include/drm/ttm/ttm_page_alloc.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/drm/ttm/ttm_page_alloc.h b/include/drm/ttm/ttm_page_alloc.h
index bf21166f2b97..38a2b4770c35 100644
--- a/include/drm/ttm/ttm_page_alloc.h
+++ b/include/drm/ttm/ttm_page_alloc.h
@@ -47,7 +47,7 @@ void ttm_page_alloc_fini(void);
47 * 47 *
48 * Add backing pages to all of @ttm 48 * Add backing pages to all of @ttm
49 */ 49 */
50extern int ttm_pool_populate(struct ttm_tt *ttm); 50int ttm_pool_populate(struct ttm_tt *ttm);
51 51
52/** 52/**
53 * ttm_pool_unpopulate: 53 * ttm_pool_unpopulate:
@@ -56,12 +56,12 @@ extern int ttm_pool_populate(struct ttm_tt *ttm);
56 * 56 *
57 * Free all pages of @ttm 57 * Free all pages of @ttm
58 */ 58 */
59extern void ttm_pool_unpopulate(struct ttm_tt *ttm); 59void ttm_pool_unpopulate(struct ttm_tt *ttm);
60 60
61/** 61/**
62 * Output the state of pools to debugfs file 62 * Output the state of pools to debugfs file
63 */ 63 */
64extern int ttm_page_alloc_debugfs(struct seq_file *m, void *data); 64int ttm_page_alloc_debugfs(struct seq_file *m, void *data);
65 65
66 66
67#if defined(CONFIG_SWIOTLB) || defined(CONFIG_INTEL_IOMMU) 67#if defined(CONFIG_SWIOTLB) || defined(CONFIG_INTEL_IOMMU)
@@ -78,10 +78,10 @@ void ttm_dma_page_alloc_fini(void);
78/** 78/**
79 * Output the state of pools to debugfs file 79 * Output the state of pools to debugfs file
80 */ 80 */
81extern int ttm_dma_page_alloc_debugfs(struct seq_file *m, void *data); 81int ttm_dma_page_alloc_debugfs(struct seq_file *m, void *data);
82 82
83extern int ttm_dma_populate(struct ttm_dma_tt *ttm_dma, struct device *dev); 83int ttm_dma_populate(struct ttm_dma_tt *ttm_dma, struct device *dev);
84extern void ttm_dma_unpopulate(struct ttm_dma_tt *ttm_dma, struct device *dev); 84void ttm_dma_unpopulate(struct ttm_dma_tt *ttm_dma, struct device *dev);
85 85
86 86
87/** 87/**