aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm/ttm/ttm_memory.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/drm/ttm/ttm_memory.h')
-rw-r--r--include/drm/ttm/ttm_memory.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/drm/ttm/ttm_memory.h b/include/drm/ttm/ttm_memory.h
index 737b5fed8003..3ff48a0a2d7b 100644
--- a/include/drm/ttm/ttm_memory.h
+++ b/include/drm/ttm/ttm_memory.h
@@ -63,7 +63,7 @@
63 63
64#define TTM_MEM_MAX_ZONES 2 64#define TTM_MEM_MAX_ZONES 2
65struct ttm_mem_zone; 65struct ttm_mem_zone;
66struct ttm_mem_global { 66extern struct ttm_mem_global {
67 struct kobject kobj; 67 struct kobject kobj;
68 struct ttm_bo_global *bo_glob; 68 struct ttm_bo_global *bo_glob;
69 struct workqueue_struct *swap_queue; 69 struct workqueue_struct *swap_queue;
@@ -78,7 +78,7 @@ struct ttm_mem_global {
78#else 78#else
79 struct ttm_mem_zone *zone_dma32; 79 struct ttm_mem_zone *zone_dma32;
80#endif 80#endif
81}; 81} ttm_mem_glob;
82 82
83extern int ttm_mem_global_init(struct ttm_mem_global *glob); 83extern int ttm_mem_global_init(struct ttm_mem_global *glob);
84extern void ttm_mem_global_release(struct ttm_mem_global *glob); 84extern void ttm_mem_global_release(struct ttm_mem_global *glob);