projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9278006
)
drm/udl: Make udl_crtc_init() static
author
Sachin Kamat
<sachin.kamat@linaro.org>
Sat, 22 Sep 2012 07:05:21 +0000
(07:05 +0000)
committer
Dave Airlie
<airlied@redhat.com>
Mon, 1 Oct 2012 23:24:34 +0000
(09:24 +1000)
Fixes the following sparse warning:
drivers/gpu/drm/udl/udl_modeset.c:394:5: warning:
symbol 'udl_crtc_init' was not declared. Should it be static?
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/udl/udl_modeset.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/udl/udl_modeset.c
b/drivers/gpu/drm/udl/udl_modeset.c
index
9159d48
..
8f25815
100644
(file)
--- a/
drivers/gpu/drm/udl/udl_modeset.c
+++ b/
drivers/gpu/drm/udl/udl_modeset.c
@@
-391,7
+391,7
@@
static const struct drm_crtc_funcs udl_crtc_funcs = {
.destroy = udl_crtc_destroy,
};
-int udl_crtc_init(struct drm_device *dev)
+
static
int udl_crtc_init(struct drm_device *dev)
{
struct drm_crtc *crtc;