projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drm/i915: Fix !CONFIG_PM sysfs for real this time
[deliverable/linux.git]
/
drivers
/
gpu
/
drm
/
i915
/
i915_sysfs.c
diff --git
a/drivers/gpu/drm/i915/i915_sysfs.c
b/drivers/gpu/drm/i915/i915_sysfs.c
index a2535151939704856f3bc0193f4d7e3b1819a918..903eebd2117a41437837131adb46811ce858fbdd 100644
(file)
--- a/
drivers/gpu/drm/i915/i915_sysfs.c
+++ b/
drivers/gpu/drm/i915/i915_sysfs.c
@@
-410,5
+410,7
@@
void i915_teardown_sysfs(struct drm_device *dev)
{
sysfs_remove_files(&dev->primary->kdev.kobj, gen6_attrs);
device_remove_bin_file(&dev->primary->kdev, &dpf_attrs);
+#ifdef CONFIG_PM
sysfs_unmerge_group(&dev->primary->kdev.kobj, &rc6_attr_group);
+#endif
}
This page took
0.023731 seconds
and
5
git commands to generate.