drm/ttm: unexport ttm_pool_init/fini
authorChristian König <christian.koenig@amd.com>
Tue, 5 Jan 2021 17:56:56 +0000 (18:56 +0100)
committerChristian König <christian.koenig@amd.com>
Thu, 7 Jan 2021 13:25:43 +0000 (14:25 +0100)
Drivers are not supposed to use this directly any more.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Link: https://patchwork.freedesktop.org/patch/412156/
drivers/gpu/drm/ttm/ttm_pool.c

index 7b2f606..a00b7ab 100644 (file)
@@ -507,7 +507,6 @@ void ttm_pool_init(struct ttm_pool *pool, struct device *dev,
                        ttm_pool_type_init(&pool->caching[i].orders[j],
                                           pool, i, j);
 }
-EXPORT_SYMBOL(ttm_pool_init);
 
 /**
  * ttm_pool_fini - Cleanup a pool
@@ -525,7 +524,6 @@ void ttm_pool_fini(struct ttm_pool *pool)
                for (j = 0; j < MAX_ORDER; ++j)
                        ttm_pool_type_fini(&pool->caching[i].orders[j]);
 }
-EXPORT_SYMBOL(ttm_pool_fini);
 
 #ifdef CONFIG_DEBUG_FS
 /* Count the number of pages available in a pool_type */