Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/tinydrm: make function st7586_pipe_enable static

The function st7586_pipe_enable is local to the source
and does not need to be in global scope, so make it static.

Cleans up sparse warning:
symbol 'st7586_pipe_enable' was not declared. Should it be static?

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-By: David Lechner <david@lechnology.com>
[noralf: fixed: Alignment should match open parenthesis]
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20170816092306.10969-1-colin.king@canonical.com

authored by

Colin Ian King and committed by
Noralf Trønnes
f3bbc908 9df1baa1

+2 -2
+2 -2
drivers/gpu/drm/tinydrm/st7586.c
··· 172 172 .dirty = st7586_fb_dirty, 173 173 }; 174 174 175 - void st7586_pipe_enable(struct drm_simple_display_pipe *pipe, 176 - struct drm_crtc_state *crtc_state) 175 + static void st7586_pipe_enable(struct drm_simple_display_pipe *pipe, 176 + struct drm_crtc_state *crtc_state) 177 177 { 178 178 struct tinydrm_device *tdev = pipe_to_tinydrm(pipe); 179 179 struct mipi_dbi *mipi = mipi_dbi_from_tinydrm(tdev);