diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-03-02 15:18:00 -0500 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-03-02 15:19:51 -0500 |
commit | b5ea642a76ee0884a4d378b4d5fe290ddb461524 (patch) | |
tree | 4003bc8a2b433ca835d0e1f181fc9b6c51a04343 /drivers/gpu/drm/i915/intel_display.c | |
parent | 3b25b31fd15ed5a25822b450757dc33bc2d6b63b (diff) |
drm/i915: sprinkle static
Apparently we've missed a few more than what Fengguang's 0-day tester
recently reported in i915_irq.c ... Makes sparse happy again (ignore
some spurious stuff about ksyms of exported functions).
Cc: kbuild test robot <fengguang.wu@intel.com>
Cc: Imre Deak <imre.deak@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_display.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_display.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index c559c58af483..863500893e96 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c | |||
@@ -7692,7 +7692,7 @@ err: | |||
7692 | return ERR_PTR(ret); | 7692 | return ERR_PTR(ret); |
7693 | } | 7693 | } |
7694 | 7694 | ||
7695 | struct drm_framebuffer * | 7695 | static struct drm_framebuffer * |
7696 | intel_framebuffer_create(struct drm_device *dev, | 7696 | intel_framebuffer_create(struct drm_device *dev, |
7697 | struct drm_mode_fb_cmd2 *mode_cmd, | 7697 | struct drm_mode_fb_cmd2 *mode_cmd, |
7698 | struct drm_i915_gem_object *obj) | 7698 | struct drm_i915_gem_object *obj) |
@@ -10541,10 +10541,10 @@ static const struct drm_framebuffer_funcs intel_fb_funcs = { | |||
10541 | .create_handle = intel_user_framebuffer_create_handle, | 10541 | .create_handle = intel_user_framebuffer_create_handle, |
10542 | }; | 10542 | }; |
10543 | 10543 | ||
10544 | int intel_framebuffer_init(struct drm_device *dev, | 10544 | static int intel_framebuffer_init(struct drm_device *dev, |
10545 | struct intel_framebuffer *intel_fb, | 10545 | struct intel_framebuffer *intel_fb, |
10546 | struct drm_mode_fb_cmd2 *mode_cmd, | 10546 | struct drm_mode_fb_cmd2 *mode_cmd, |
10547 | struct drm_i915_gem_object *obj) | 10547 | struct drm_i915_gem_object *obj) |
10548 | { | 10548 | { |
10549 | int aligned_height; | 10549 | int aligned_height; |
10550 | int pitch_limit; | 10550 | int pitch_limit; |