diff options
author | Dave Airlie | 2013-11-14 09:52:44 +1000 |
---|---|---|
committer | Dave Airlie | 2013-11-14 09:52:44 +1000 |
commit | b95b49168fc53d1fe5cf0dd4c5e89e927980f9ad (patch) | |
tree | fc55b1aad2b8384934b593f8b23da1bf50972442 /drivers/gpu/drm | |
parent | 792e6a6cb2314005483ca5922082e1f4ae2721b2 (diff) | |
parent | 1dca220b2b6ba605bff07c4d019dd2cd2d70036c (diff) |
Merge tag 'drm-intel-fixes-2013-11-12' of git://people.freedesktop.org/~danvet/drm-intel into drm-next
Just one patch to fix compile fail for CONFIG_ACPI=n. Figured I better
send this out quickly to minimize the broken build span. Otherwise no
bugfixes (besides some bdw stuff) anywhere in sight.
* tag 'drm-intel-fixes-2013-11-12' of git://people.freedesktop.org/~danvet/drm-intel:
drm/i915/opregion: fix build error on CONFIG_ACPI=n
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r-- | drivers/gpu/drm/i915/intel_opregion.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_opregion.c b/drivers/gpu/drm/i915/intel_opregion.c index 91b68dca0641..1b2f41c3f191 100644 --- a/drivers/gpu/drm/i915/intel_opregion.c +++ b/drivers/gpu/drm/i915/intel_opregion.c @@ -876,7 +876,9 @@ int intel_opregion_setup(struct drm_device *dev) return -ENOTSUPP; } +#ifdef CONFIG_ACPI INIT_WORK(&opregion->asle_work, asle_work); +#endif base = acpi_os_ioremap(asls, OPREGION_SIZE); if (!base) |