[PATCH] drm/client: remove the exporting of drm_client_close
Noralf Trønnes
noralf at tronnes.org
Tue Jul 9 09:42:54 UTC 2019
Den 04.07.2019 16.07, skrev Emil Velikov:
> On Thu, 4 Jul 2019 at 08:27, Denis Efremov <efremov at linux.com> wrote:
>>
>> The function drm_client_close is declared as static and marked as
>> EXPORT_SYMBOL. It's a bit confusing for an internal function to be
>> exported. The area of visibility for such function is its .c file
>> and all other modules. Other *.c files of the same module can't use it,
>> despite all other modules can. Relying on the fact that this is the
>> internal function and it's not a crucial part of the API, the patch
>> removes the EXPORT_SYMBOL marking of drm_client_close.
>>
>> Signed-off-by: Denis Efremov <efremov at linux.com>
>
> Nice one:
> Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
Thanks, applied.
Noralf.
More information about the dri-devel
mailing list