[RFC PATCH linux-next] drm/udl: udl_handle_damage() can be static

kbuild test robot lkp at intel.com
Sun Dec 22 18:46:16 UTC 2019


Fixes: a8109f5bc4bd ("drm/udl: Move udl_handle_damage() into udl_modeset.c")
Signed-off-by: kbuild test robot <lkp at intel.com>
---
 udl_modeset.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/udl/udl_modeset.c b/drivers/gpu/drm/udl/udl_modeset.c
index 22af179590536..0cc50fc2c2ab1 100644
--- a/drivers/gpu/drm/udl/udl_modeset.c
+++ b/drivers/gpu/drm/udl/udl_modeset.c
@@ -266,8 +266,8 @@ static int udl_aligned_damage_clip(struct drm_rect *clip, int x, int y,
 	return 0;
 }
 
-int udl_handle_damage(struct drm_framebuffer *fb, int x, int y,
-		      int width, int height)
+static int udl_handle_damage(struct drm_framebuffer *fb, int x, int y,
+			     int width, int height)
 {
 	struct drm_device *dev = fb->dev;
 	struct dma_buf_attachment *import_attach = fb->obj[0]->import_attach;


More information about the dri-devel mailing list