diff options
author | Tom St Denis <tom.stdenis@amd.com> | 2017-08-24 06:46:39 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-08-29 15:27:54 -0400 |
commit | 96bec198352799794b0f8937620e811ef8b9fa22 (patch) | |
tree | 5bfd50b1a7f9ad4e4b62920a0deeac9bfbe64e1d | |
parent | f7871fd19389c5f64f625a4389675d0740f0dfe4 (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.h | 12 |
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 | */ |
50 | extern int ttm_pool_populate(struct ttm_tt *ttm); | 50 | int 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 | */ |
59 | extern void ttm_pool_unpopulate(struct ttm_tt *ttm); | 59 | void 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 | */ |
64 | extern int ttm_page_alloc_debugfs(struct seq_file *m, void *data); | 64 | int 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 | */ |
81 | extern int ttm_dma_page_alloc_debugfs(struct seq_file *m, void *data); | 81 | int ttm_dma_page_alloc_debugfs(struct seq_file *m, void *data); |
82 | 82 | ||
83 | extern int ttm_dma_populate(struct ttm_dma_tt *ttm_dma, struct device *dev); | 83 | int ttm_dma_populate(struct ttm_dma_tt *ttm_dma, struct device *dev); |
84 | extern void ttm_dma_unpopulate(struct ttm_dma_tt *ttm_dma, struct device *dev); | 84 | void ttm_dma_unpopulate(struct ttm_dma_tt *ttm_dma, struct device *dev); |
85 | 85 | ||
86 | 86 | ||
87 | /** | 87 | /** |