summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_ringbuffer.c
diff options
context:
space:
mode:
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>2017-02-16 12:23:21 +0000
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>2017-02-17 11:39:59 +0000
commit2f35afe94af0f7dc451253d848af442e5d7a7715 (patch)
treedb6e67e627be75099c546bec04088c04246e2f27 /drivers/gpu/drm/i915/intel_ringbuffer.c
parentfabef825626d7bd05a321e4427fdf31a169b5173 (diff)
downloadtalos-obmc-linux-2f35afe94af0f7dc451253d848af442e5d7a7715.tar.gz
talos-obmc-linux-2f35afe94af0f7dc451253d848af442e5d7a7715.zip
drm/i915: Make int __intel_ring_space static
It is only used within intel_ringbuffer.c Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.oc.uk>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_ringbuffer.c')
-rw-r--r--drivers/gpu/drm/i915/intel_ringbuffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.c b/drivers/gpu/drm/i915/intel_ringbuffer.c
index f7499829ecc2..8c17db72489f 100644
--- a/drivers/gpu/drm/i915/intel_ringbuffer.c
+++ b/drivers/gpu/drm/i915/intel_ringbuffer.c
@@ -39,7 +39,7 @@
*/
#define LEGACY_REQUEST_SIZE 200
-int __intel_ring_space(int head, int tail, int size)
+static int __intel_ring_space(int head, int tail, int size)
{
int space = head - tail;
if (space <= 0)
OpenPOWER on IntegriCloud