diff options
author | Damien Lespiau <damien.lespiau@intel.com> | 2013-06-24 19:29:34 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-07-01 11:14:44 +0200 |
commit | f5adf94e5fed2468eef4f0c094b66bf834770d7b (patch) | |
tree | 434e98438c4e00286db68cba5179c4eb0f7db12d /drivers/gpu/drm/i915/i915_debugfs.c | |
parent | drm/i915: fix build warning on format specifier mismatch (diff) | |
download | linux-f5adf94e5fed2468eef4f0c094b66bf834770d7b.tar.xz linux-f5adf94e5fed2468eef4f0c094b66bf834770d7b.zip |
drm/i915: Introduce an HAS_IPS() macro
Follow the trend and don't code conditions with platforms but with
features.
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_debugfs.c')
-rw-r--r-- | drivers/gpu/drm/i915/i915_debugfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c index d4e78b64ca87..f72d5a3fdfba 100644 --- a/drivers/gpu/drm/i915/i915_debugfs.c +++ b/drivers/gpu/drm/i915/i915_debugfs.c @@ -1483,7 +1483,7 @@ static int i915_ips_status(struct seq_file *m, void *unused) struct drm_device *dev = node->minor->dev; struct drm_i915_private *dev_priv = dev->dev_private; - if (!IS_ULT(dev)) { + if (!HAS_IPS(dev)) { seq_puts(m, "not supported\n"); return 0; } |