diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-08-23 15:59:06 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-08-23 16:00:16 +0100 |
commit | b22e90bc8b9c7fe27556558c31f00e35e689a12e (patch) | |
tree | ab3844b5012a310fe4a4c6bfedcc17f564438489 /overlay/power.c | |
parent | 9574cb1a3de0dfe45c59420e2cb9a74fc23baecc (diff) |
overlay: Distinguish the root debugfs path and our dri node
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'overlay/power.c')
-rw-r--r-- | overlay/power.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/overlay/power.c b/overlay/power.c index e69b1a19..62aba8b5 100644 --- a/overlay/power.c +++ b/overlay/power.c @@ -42,7 +42,7 @@ int power_init(struct power *power) memset(power, 0, sizeof(*power)); - sprintf(buf, "%s/i915_energy_uJ", debugfs_path); + sprintf(buf, "%s/i915_energy_uJ", debugfs_dri_path); fd = open(buf, 0); if (fd < 0) return power->error = errno; |