diff options
author | Lee Jones <lee.jones@linaro.org> | 2020-11-16 17:40:52 +0000 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2020-11-17 20:02:42 +0100 |
commit | 295cc38d2e562e355dadab9e4cecde60e77d0bee (patch) | |
tree | 4b89b5662b2f12ebda94e47675ef30a1ffdbb74d | |
parent | c6fd00a490760594e6ccb027bb8d08ed85059f59 (diff) | |
download | lwn-295cc38d2e562e355dadab9e4cecde60e77d0bee.tar.gz lwn-295cc38d2e562e355dadab9e4cecde60e77d0bee.zip |
drm/pl111/pl111_display: Make local function static
Fixes the following W=1 kernel build warning(s):
drivers/gpu/drm/pl111/pl111_display.c:356:6: warning: no previous prototype for ‘pl111_display_disable’ [-Wmissing-prototypes]
Cc: Eric Anholt <eric@anholt.net>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20201116174112.1833368-23-lee.jones@linaro.org
-rw-r--r-- | drivers/gpu/drm/pl111/pl111_display.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/pl111/pl111_display.c b/drivers/gpu/drm/pl111/pl111_display.c index b3e8697cafcf..69c02e7c82b7 100644 --- a/drivers/gpu/drm/pl111/pl111_display.c +++ b/drivers/gpu/drm/pl111/pl111_display.c @@ -353,7 +353,7 @@ static void pl111_display_enable(struct drm_simple_display_pipe *pipe, drm_crtc_vblank_on(crtc); } -void pl111_display_disable(struct drm_simple_display_pipe *pipe) +static void pl111_display_disable(struct drm_simple_display_pipe *pipe) { struct drm_crtc *crtc = &pipe->crtc; struct drm_device *drm = crtc->dev; |