diff options
| author | Randy Dunlap <[email protected]> | 2016-06-27 14:53:19 +0300 |
|---|---|---|
| committer | Jani Nikula <[email protected]> | 2016-06-28 13:10:14 +0300 |
| commit | bdaa2dfbba3e07e171bccd2404fa3f75dbc66972 (patch) | |
| tree | cceb801430d83db835cf7b572fc637f86108187c /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
| parent | 4aa7fb9c3c4fa04eca4e6e6020aaca7b34170381 (diff) | |
drm/i915: fix build errors when ACPI is not enabled
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 <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: Jani Nikula <[email protected]>
Cc: [email protected]
Cc: [email protected]
Fixes: 03d92e4779b8 ("drm/i915/opregion: Rename init/fini functions to register/unregister")
Cc: [email protected]
Cc: Chris Wilson <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
[Jani: dropped the stale init/fini declarations]
Signed-off-by: Jani Nikula <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions