summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoralf Trønnes <noralf@tronnes.org>2019-04-03 14:56:58 +0200
committerNoralf Trønnes <noralf@tronnes.org>2019-04-11 16:14:49 +0200
commite33898a20744de9c98cbb7d38506734ece824cb4 (patch)
tree1f9ded2a6e02bed89e61c1137e0c5a1c0e7115a2 /include
parent564d6fd611f9c66dba4a3ad1da7a4589f8eb699a (diff)
drm/client: Rename drm_client_add() to drm_client_register()
This is done to stay consistent with our naming scheme of _register() = others can start calling us from any thread. Suggested-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Noralf Trønnes <noralf@tronnes.org> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/20190403125658.32389-1-noralf@tronnes.org
Diffstat (limited to 'include')
-rw-r--r--include/drm/drm_client.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/drm_client.h b/include/drm/drm_client.h
index 8b552b1a6ce9..268b2cf0052a 100644
--- a/include/drm/drm_client.h
+++ b/include/drm/drm_client.h
@@ -90,7 +90,7 @@ struct drm_client_dev {
int drm_client_init(struct drm_device *dev, struct drm_client_dev *client,
const char *name, const struct drm_client_funcs *funcs);
void drm_client_release(struct drm_client_dev *client);
-void drm_client_add(struct drm_client_dev *client);
+void drm_client_register(struct drm_client_dev *client);
void drm_client_dev_unregister(struct drm_device *dev);
void drm_client_dev_hotplug(struct drm_device *dev);