]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm: Include internal header for managed function declarations
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 16 May 2020 21:23:27 +0000 (22:23 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 18 May 2020 15:27:54 +0000 (16:27 +0100)
commit3df6fad41f13dce63d9110d39175445a20f27395
treeae807a4b7994290fe82ea157879001dbb92f7949
parent3b5ac8b56064c8dcdfc1c088b32f53d76588b472
drm: Include internal header for managed function declarations

drivers/gpu/drm/drm_managed.c:61:6: warning: symbol 'drm_managed_release' was not declared. Should it be static?
  CC      drivers/gpu/drm/drm_managed.o
drivers/gpu/drm/drm_managed.c:61:6: warning: no previous prototype for ‘drm_managed_release’ [-Wmissing-prototypes]
 void drm_managed_release(struct drm_device *dev)

Fixes: c6603c740e0e ("drm: add managed resources tied to drm_device")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Daniel Vetter <daniel@ffwll.ch>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20200516212330.13633-1-chris@chris-wilson.co.uk
drivers/gpu/drm/drm_managed.c