summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/drm_fops.c
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2016-12-15 14:36:02 +0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2016-12-15 18:07:36 +0300
commit20c9ca4fda321ca2a2fbd3be53d2d271f74f7b97 (patch)
tree41d46ecf955b193b97a4827f12ec000c9f55043d /drivers/gpu/drm/drm_fops.c
parentffb9c3698d18eeb6c25f02d92e5234625416b1fa (diff)
downloadlinux-20c9ca4fda321ca2a2fbd3be53d2d271f74f7b97.tar.xz
drm: Fix typo in drm_event_reserve_init() kerneldoc
drm_event_reserve_init_locked() is the correct function to call when already holding the dev->event_lock lock. Signed-off-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/20161215113602.27966-1-thierry.reding@gmail.com
Diffstat (limited to 'drivers/gpu/drm/drm_fops.c')
-rw-r--r--drivers/gpu/drm/drm_fops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_fops.c b/drivers/gpu/drm/drm_fops.c
index 5d96de40b63f..48e106557c92 100644
--- a/drivers/gpu/drm/drm_fops.c
+++ b/drivers/gpu/drm/drm_fops.c
@@ -622,7 +622,7 @@ EXPORT_SYMBOL(drm_event_reserve_init_locked);
* kmalloc and @p must be the first member element.
*
* Callers which already hold dev->event_lock should use
- * drm_event_reserve_init() instead.
+ * drm_event_reserve_init_locked() instead.
*
* RETURNS:
*