aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_drv.h
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2009-03-28 01:41:14 -0400
committerLen Brown <len.brown@intel.com>2009-03-28 01:41:14 -0400
commit03ae61dd5701092aabb60a8cae9929dbf8dc25c6 (patch)
tree9419425d70069348c39831ef2eb5f39436dfc6f5 /drivers/gpu/drm/i915/i915_drv.h
parent98758faffc86ee6fe9504eeab75481ee7c1aa860 (diff)
ACPI: fix CONFIG_ACPI=n build
drivers/gpu/drm/i915/i915_drv.c:102: error: too many arguments to function ‘intel_opregion_init’ Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-rw-r--r--drivers/gpu/drm/i915/i915_drv.h2
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 1679a951aa7e..b9a92c250b91 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -664,7 +664,7 @@ extern void intel_opregion_free(struct drm_device *dev);
664extern void opregion_asle_intr(struct drm_device *dev); 664extern void opregion_asle_intr(struct drm_device *dev);
665extern void opregion_enable_asle(struct drm_device *dev); 665extern void opregion_enable_asle(struct drm_device *dev);
666#else 666#else
667static inline int intel_opregion_init(struct drm_device *dev) { return 0; } 667static inline int intel_opregion_init(struct drm_device *dev, int resume) { return 0; }
668static inline void intel_opregion_free(struct drm_device *dev) { return; } 668static inline void intel_opregion_free(struct drm_device *dev) { return; }
669static inline void opregion_asle_intr(struct drm_device *dev) { return; } 669static inline void opregion_asle_intr(struct drm_device *dev) { return; }
670static inline void opregion_enable_asle(struct drm_device *dev) { return; } 670static inline void opregion_enable_asle(struct drm_device *dev) { return; }