diff options
author | Geliang Tang <geliangtang@163.com> | 2015-09-24 12:01:03 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-09-24 20:14:26 +0200 |
commit | bf22f3be15630234b76d7ece0b1f97627ea833a8 (patch) | |
tree | 5daf28ebbb14ac8a26105a21bc019d3e32c0aa40 | |
parent | drm/gma500: Remove DP_LINK_STATUS_SIZE redefinition (diff) | |
download | linux-bf22f3be15630234b76d7ece0b1f97627ea833a8.tar.xz linux-bf22f3be15630234b76d7ece0b1f97627ea833a8.zip |
drm: drm_atomic_crtc_get_property should be static
Fixes the following sparse warning:
drivers/gpu/drm/drm_atomic.c:442:5: warning: symbol
'drm_atomic_crtc_get_property' was not declared. Should it be static?
Signed-off-by: Geliang Tang <geliangtang@163.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
-rw-r--r-- | drivers/gpu/drm/drm_atomic.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_atomic.c b/drivers/gpu/drm/drm_atomic.c index 940f80bbf192..7bb3845d9974 100644 --- a/drivers/gpu/drm/drm_atomic.c +++ b/drivers/gpu/drm/drm_atomic.c @@ -438,7 +438,8 @@ EXPORT_SYMBOL(drm_atomic_crtc_set_property); * consistent behavior you must call this function rather than the * driver hook directly. */ -int drm_atomic_crtc_get_property(struct drm_crtc *crtc, +static int +drm_atomic_crtc_get_property(struct drm_crtc *crtc, const struct drm_crtc_state *state, struct drm_property *property, uint64_t *val) { |