From: Yang Yingliang Date: Thu, 13 May 2021 07:19:18 +0000 (+0800) Subject: drm: correct function name drm_legacy_ctxbitmap_flush() X-Git-Tag: v5.14-rc1~41^2~26^2~2 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=76fb351126f1be4f4c339920b84268740d84d2e1;p=linux-block.git drm: correct function name drm_legacy_ctxbitmap_flush() Fix the following make W=1 kernel build warning: drivers/gpu/drm/drm_context.c:136: warning: expecting prototype for drm_ctxbitmap_flush(). Prototype was for drm_legacy_ctxbitmap_flush() instead Signed-off-by: Yang Yingliang Signed-off-by: Thomas Zimmermann Link: https://patchwork.freedesktop.org/patch/msgid/20210513071918.1728535-1-yangyingliang@huawei.com --- diff --git a/drivers/gpu/drm/drm_context.c b/drivers/gpu/drm/drm_context.c index 54e3c513d6a5..c6e6a3e7219a 100644 --- a/drivers/gpu/drm/drm_context.c +++ b/drivers/gpu/drm/drm_context.c @@ -124,7 +124,7 @@ void drm_legacy_ctxbitmap_cleanup(struct drm_device * dev) } /** - * drm_ctxbitmap_flush() - Flush all contexts owned by a file + * drm_legacy_ctxbitmap_flush() - Flush all contexts owned by a file * @dev: DRM device to operate on * @file: Open file to flush contexts for *