Skip to content

Commit

Permalink
Merge tag 'drm-intel-fixes-2013-11-12' of git://people.freedesktop.or…
Browse files Browse the repository at this point in the history
…g/~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
  • Loading branch information
Dave Airlie committed Nov 13, 2013
2 parents 792e6a6 + 1dca220 commit b95b491
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/gpu/drm/i915/intel_opregion.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b95b491

Please sign in to comment.