[PATCH] dma-buf: add missing EXPORT_SYMBOL

Alex Deucher alexdeucher at gmail.com
Fri Jun 4 15:59:11 UTC 2021


On Fri, Jun 4, 2021 at 11:52 AM Christian König
<ckoenig.leichtzumerken at gmail.com> wrote:
>
> 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 at amd.com>

Acked-by: Alex Deucher <alexander.deucher at amd.com>

> ---
>  drivers/dma-buf/dma-resv.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/dma-buf/dma-resv.c b/drivers/dma-buf/dma-resv.c
> index 3964df438505..6132ba631991 100644
> --- a/drivers/dma-buf/dma-resv.c
> +++ b/drivers/dma-buf/dma-resv.c
> @@ -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
>
>  /**
> --
> 2.25.1
>


More information about the dri-devel mailing list