]> git.baikalelectronics.ru Git - kernel.git/commitdiff
dma-buf: add missing EXPORT_SYMBOL
authorChristian König <christian.koenig@amd.com>
Fri, 4 Jun 2021 15:47:39 +0000 (17:47 +0200)
committerChristian König <christian.koenig@amd.com>
Sat, 5 Jun 2021 11:08:57 +0000 (13:08 +0200)
The newly added dma_resv_reset_shared_max() is used from an inline
function, so it can appear in drivers as well.

Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20210604155228.616679-1-christian.koenig@amd.com
drivers/dma-buf/dma-resv.c

index 3964df43850561c49b80c1752bc6d6f8681244be..6132ba631991607e66c007193abba8591f6352b2 100644 (file)
@@ -226,6 +226,7 @@ void dma_resv_reset_shared_max(struct dma_resv *obj)
                fence->shared_max = fence->shared_count;
        }
 }
+EXPORT_SYMBOL(dma_resv_reset_shared_max);
 #endif
 
 /**