Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1432613
| From | Chris Wilson <chris@chris-wilson.co.uk> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] drm/i915: fix build errors when ACPI is not enabled |
| Date | 2016-06-28 10:10 +0200 |
| Message-ID | <rOWfM-4gQ-31@gated-at.bofh.it> (permalink) |
| References | <rO026-8sG-3@gated-at.bofh.it> <rODmN-8aE-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, Jun 27, 2016 at 02:53:19PM +0300, Jani Nikula wrote:
> From: Randy Dunlap <rdunlap@infradead.org>
>
> Fix build errors when ACPI is not enabled by adding function stubs:
>
> ../drivers/gpu/drm/i915/i915_drv.c: In function 'i915_drm_suspend':
> ../drivers/gpu/drm/i915/i915_drv.c:635:2: error: implicit declaration of function 'intel_opregion_unregister' [-Werror=implicit-function-declaration]
> intel_opregion_unregister(dev_priv);
> ../drivers/gpu/drm/i915/i915_drv.c: In function 'i915_drm_resume':
> ../drivers/gpu/drm/i915/i915_drv.c:798:2: error: implicit declaration of function 'intel_opregion_register' [-Werror=implicit-function-declaration]
> intel_opregion_register(dev_priv);
>
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Cc: Daniel Vetter <daniel.vetter@intel.com>
> Cc: Jani Nikula <jani.nikula@linux.intel.com>
> Cc: intel-gfx@lists.freedesktop.org
> Cc: dri-devel@lists.freedesktop.org
> Fixes: 03d92e4779b8 ("drm/i915/opregion: Rename init/fini functions to register/unregister")
> Cc: drm-intel-fixes@lists.freedesktop.org
> Cc: Chris Wilson <chris@chris-wilson.co.uk>
> [Jani: dropped the stale init/fini declarations]
> Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH -next] gpu: i915: fix build errors when ACPI is not enabled Randy Dunlap <rdunlap@infradead.org> - 2016-06-25 20:00 +0200
[PATCH] drm/i915: fix build errors when ACPI is not enabled Jani Nikula <jani.nikula@intel.com> - 2016-06-27 14:00 +0200
Re: [PATCH] drm/i915: fix build errors when ACPI is not enabled Chris Wilson <chris@chris-wilson.co.uk> - 2016-06-28 10:10 +0200
Re: [PATCH] drm/i915: fix build errors when ACPI is not enabled Jani Nikula <jani.nikula@intel.com> - 2016-06-28 13:10 +0200
csiph-web