diff options
author | Ben Widawsky <ben@bwidawsk.net> | 2012-11-15 15:06:09 -0500 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-11-21 11:45:02 -0500 |
commit | d09105c66eb813ab3f57ba5e738f477f6ff92dec (patch) | |
tree | 7b36414079343eb609c1e4e5096a25d94ae8a67c /drivers | |
parent | 42d42e7e4220753bab3eb7b857721f203a4cd821 (diff) |
drm/i915: Fix warning in i915_gem_chipset_flush
drivers/gpu/drm/i915/i915_drv.h:1545:2: warning: '______f' is static but
declared in inline function 'i915_gem_chipset_flush' which is not static
Reported-by: kbuild test robot <fengguang.wu@intel.com>
dri-devel-Reference: <50a4d41c.586VhmwghPuKZbkB%fengguang.wu@intel.com>
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/i915/i915_drv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h index 4b83e5f4b32e..dfb63fb48e24 100644 --- a/drivers/gpu/drm/i915/i915_drv.h +++ b/drivers/gpu/drm/i915/i915_drv.h | |||
@@ -1541,7 +1541,7 @@ void i915_gem_init_global_gtt(struct drm_device *dev, | |||
1541 | unsigned long end); | 1541 | unsigned long end); |
1542 | int i915_gem_gtt_init(struct drm_device *dev); | 1542 | int i915_gem_gtt_init(struct drm_device *dev); |
1543 | void i915_gem_gtt_fini(struct drm_device *dev); | 1543 | void i915_gem_gtt_fini(struct drm_device *dev); |
1544 | extern inline void i915_gem_chipset_flush(struct drm_device *dev) | 1544 | static inline void i915_gem_chipset_flush(struct drm_device *dev) |
1545 | { | 1545 | { |
1546 | if (INTEL_INFO(dev)->gen < 6) | 1546 | if (INTEL_INFO(dev)->gen < 6) |
1547 | intel_gtt_chipset_flush(); | 1547 | intel_gtt_chipset_flush(); |