summaryrefslogtreecommitdiff
path: root/bin/nv_perfmon.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/nv_perfmon.c')
-rw-r--r--bin/nv_perfmon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/nv_perfmon.c b/bin/nv_perfmon.c
index 9fcbd602e..05c41780a 100644
--- a/bin/nv_perfmon.c
+++ b/bin/nv_perfmon.c
@@ -831,8 +831,8 @@ main(int argc, char **argv)
}
ret = u_device(NULL, argv[0], "error", true, true,
- (1ULL << NVDEV_SUBDEV_TIMER) |
- (1ULL << NVDEV_ENGINE_PM),
+ (1ULL << NVKM_SUBDEV_TIMER) |
+ (1ULL << NVKM_ENGINE_PM),
0x00000000, &client, device);
if (ret)
return ret;