Skip to contentSkip to conversation

drm/i915: Fix warning in i915_gem_chipset_flush

PATCH New Ben Widawsky 1 participant 1 message Nov 15, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/i915: Fix warning in i915_gem_chipset_flush

Begin forwarded message:

Date: Thu, 15 Nov 2012 12:06:09 -0800
From: Ben Widawsky <[email protected]>
To: [email protected], [email protected]
Cc: Ben Widawsky <[email protected]>
Subject: [PATCH] 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

dri-devel-Reference: <50a4d41c.586VhmwghPuKZbkB%[email protected]>

---
 drivers/gpu/drm/i915/i915_drv.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
(quoted diff) +0 -0

b/drivers/gpu/drm/i915/i915_drv.h index 4b83e5f..dfb63fb 100644

drivers/gpu/drm/i915/i915_drv.h +0 -0
@@ -1541,7 +1541,7 @@ void i915_gem_init_global_gtt(struct drm_device

*dev, unsigned long end);
int i915_gem_gtt_init(struct drm_device *dev);
void i915_gem_gtt_fini(struct drm_device *dev);
-extern inline void i915_gem_chipset_flush(struct drm_device *dev) +static inline void i915_gem_chipset_flush(struct drm_device *dev)
{
if (INTEL_INFO(dev)->gen < 6)
intel_gtt_chipset_flush();

Signature · 6 lines
1.8.0



-- 
Ben Widawsky, Intel Open Source Technology Center