aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma-buf
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2020-12-04 17:51:52 +0100
committerChristian König <christian.koenig@amd.com>2020-12-16 16:24:25 +0100
commit846f151d03f796bf1b303784edaf3a22e3f51377 (patch)
tree986f6e687b42e7b3bcba34e52740ddae17788f53 /drivers/dma-buf
parentdrm: mxsfb: Silence -EPROBE_DEFER while waiting for bridge (diff)
downloadlinux-dev-846f151d03f796bf1b303784edaf3a22e3f51377.tar.xz
linux-dev-846f151d03f796bf1b303784edaf3a22e3f51377.zip
drm/ttm: fix unused function warning
ttm_pool_type_count() is not used when debugfs is disabled: drivers/gpu/drm/ttm/ttm_pool.c:243:21: error: unused function 'ttm_pool_type_count' [-Werror,-Wunused-function] static unsigned int ttm_pool_type_count(struct ttm_pool_type *pt) Move the definition into the #ifdef block. Fixes: d099fc8f540a ("drm/ttm: new TT backend allocation pool v3") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Martin Peres <martin.peres@mupuf.org> Reviewed-by: Christian König <christian.koenig@amd.com> Link: https://patchwork.freedesktop.org/patch/405695/ Signed-off-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'drivers/dma-buf')
0 files changed, 0 insertions, 0 deletions