projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9df1baa
)
drm/tinydrm: make function st7586_pipe_enable static
author
Colin Ian King
<
[email protected]
>
Wed, 16 Aug 2017 09:23:06 +0000
(10:23 +0100)
committer
Noralf Trønnes
<
[email protected]
>
Wed, 16 Aug 2017 19:39:26 +0000
(21:39 +0200)
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 <
[email protected]
>
Acked-By: David Lechner <
[email protected]
>
[noralf: fixed: Alignment should match open parenthesis]
Signed-off-by: Noralf Trønnes <
[email protected]
>
Link:
https://patchwork.freedesktop.org/patch/msgid/
[email protected]
drivers/gpu/drm/tinydrm/st7586.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/tinydrm/st7586.c
b/drivers/gpu/drm/tinydrm/st7586.c
index 1b39d3fb17f7d07a5134457abfbe25fca54133f2..b439956a07f41798a1dd408c3ddad49956c9ceb8 100644
(file)
--- a/
drivers/gpu/drm/tinydrm/st7586.c
+++ b/
drivers/gpu/drm/tinydrm/st7586.c
@@
-172,8
+172,8
@@
static const struct drm_framebuffer_funcs st7586_fb_funcs = {
.dirty = st7586_fb_dirty,
};
-void st7586_pipe_enable(struct drm_simple_display_pipe *pipe,
- struct drm_crtc_state *crtc_state)
+
static
void st7586_pipe_enable(struct drm_simple_display_pipe *pipe,
+
struct drm_crtc_state *crtc_state)
{
struct tinydrm_device *tdev = pipe_to_tinydrm(pipe);
struct mipi_dbi *mipi = mipi_dbi_from_tinydrm(tdev);