diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2018-02-07 16:04:28 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2018-02-07 17:07:45 +0000 |
commit | 05273c950a3c93c5f96be8807eaf24f2cc9f1c1e (patch) | |
tree | 922397b21b3aa44f4c7a7c6b16f18529c7e1fcf2 /mm/memory_hotplug.c | |
parent | 1fe699e30113ed6f6e853ff44710d256072ea627 (diff) | |
download | talos-obmc-linux-05273c950a3c93c5f96be8807eaf24f2cc9f1c1e.tar.gz talos-obmc-linux-05273c950a3c93c5f96be8807eaf24f2cc9f1c1e.zip |
drm/i915/pmu: Fix building without CONFIG_PM
As we peek inside struct device to query members guarded by CONFIG_PM,
so must be the code.
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Fixes: 1fe699e30113 ("drm/i915/pmu: Fix sleep under atomic in RC6 readout")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180207160428.17015-1-chris@chris-wilson.co.uk
Diffstat (limited to 'mm/memory_hotplug.c')
0 files changed, 0 insertions, 0 deletions