]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/client: remove the exporting of drm_client_close
authorDenis Efremov <efremov@linux.com>
Wed, 3 Jul 2019 17:01:50 +0000 (20:01 +0300)
committerNoralf Trønnes <noralf@tronnes.org>
Tue, 9 Jul 2019 09:34:39 +0000 (11:34 +0200)
commitd006a9b63d4bbb3eb1e2e616712d45acfcda7042
tree9128f6d54220526c5baba4ea5fa203622b4abf6d
parent90f479ae51afa45efab97afdde9b94b9660dd3e4
drm/client: remove the exporting of drm_client_close

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@linux.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20190703170150.32548-1-efremov@linux.com
drivers/gpu/drm/drm_client.c