From: Laurent Pinchart Date: Fri, 4 Dec 2020 09:29:32 +0000 (+0200) Subject: drm: Remove drmm_add_final_kfree() declaration from public headers X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=1cdd3f739f4e839e77b83bb3238150c41905c748;p=linux.git drm: Remove drmm_add_final_kfree() declaration from public headers The drmm_add_final_kfree() function is declared in the include/drm/drm_managed.h public header, but has become an internal API not exposed to drivers. Drop it from drm_managed.h as it's already declared in drm_internal.h. Signed-off-by: Laurent Pinchart Acked-by: Thomas Zimmermann Signed-off-by: Sam Ravnborg Link: https://patchwork.freedesktop.org/patch/msgid/20201204092932.21636-1-laurent.pinchart+renesas@ideasonboard.com --- diff --git a/include/drm/drm_managed.h b/include/drm/drm_managed.h index ca4114633bf94..b45c6fbf53ac4 100644 --- a/include/drm/drm_managed.h +++ b/include/drm/drm_managed.h @@ -44,8 +44,6 @@ int __must_check __drmm_add_action_or_reset(struct drm_device *dev, drmres_release_t action, void *data, const char *name); -void drmm_add_final_kfree(struct drm_device *dev, void *container); - void *drmm_kmalloc(struct drm_device *dev, size_t size, gfp_t gfp) __malloc; /**